[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for extends and trunc (PR #132383)

Petar Avramovic via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 14 08:01:07 PDT 2025


================
@@ -179,8 +174,7 @@ body: |
     ; CHECK: liveins: $sgpr0
----------------
petar-avramovic wrote:

<!--__GRAPHITE_HTML_TAG_START__--><p class='graphite__hidden'><i>[Re: line +159]</i></p><!--__GRAPHITE_HTML_TAG_END__-->
> This change is a code quality regression: the input has G_ANYEXT, so the high half can be undefined.

fixed
<!--__GRAPHITE_HTML_TAG_START__--><p class='graphite__hidden'>See this comment inline on <a href="https://app.graphite.dev/github/pr/llvm/llvm-project/132383?utm_source=unchanged-line-comment">Graphite</a>.</p><!--__GRAPHITE_HTML_TAG_END__-->

https://github.com/llvm/llvm-project/pull/132383


More information about the llvm-branch-commits mailing list