[PATCH] D12112: x32. Fixes jmp %reg in x32

João Porto via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 14:08:07 PDT 2015


jpp added inline comments.

================
Comment at: test/CodeGen/X86/x32-indirectbr.ll:21
@@ +20,3 @@
+}
+; CHECK: movl {{.*}}, %{{e|r}}[[REG:.[^d]*]]{{d?}}
+; CHECK: jmpq *%r[[REG]]
----------------
dschuff wrote:
> %{{e|r}}
> if you are checking for a movl, then %rXX shouldn't be allowed, should it?
They are, if you are using the new registers( r8d-15d). The regexp could potentially be improved. 


http://reviews.llvm.org/D12112





More information about the llvm-commits mailing list