[llvm] [ISEL] Fix x86-64 instruction selection bug leaking upper 32 bits (PR #205600)
Ammar Askar via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 25 09:17:37 PDT 2026
================
@@ -1680,15 +1680,15 @@ def : Pat<(or (and GR64:$dst, -256),
(i64 (zextloadi8 addr:$src))),
(INSERT_SUBREG (i64 (COPY $dst)), (MOV8rm i8mem:$src), sub_8bit)>;
-def : Pat<(or (and GR32:$dst, -256),
+def : Pat<(or (and def32:$dst, -256),
----------------
ammaraskar wrote:
Added `In64BitMode` predicates for the `def32` patterns.
https://github.com/llvm/llvm-project/pull/205600
More information about the llvm-commits
mailing list