[llvm] [X86] Ignore REX prefixes not immediately before opcode (PR #117299)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 00:47:40 PST 2024


================
@@ -770,3 +770,8 @@
 
 # CHECK: prefetchit1 (%rip)
 0x0f,0x18,0x35,0x00,0x00,0x00,0x00
+
+# Check that we correctly ignore a REX prefix that is not immediately before
+# the opcode.
+# CHECK: orw $25659, %ax
----------------
phoebewang wrote:

Yeah, you are correct.

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


More information about the llvm-commits mailing list