[PATCH] D40524: Handle the case of live 16-bit subregisters in X86FixupBWInsts

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 04:12:20 PST 2017


a.elovikov added inline comments.


================
Comment at: test/CodeGen/X86/fixup-bw-inst.mir:197
+
+    %r9b = MOV8rr undef %r10b, implicit-def %r9d, implicit killed %r9d, implicit-def %eflags
+    ; CHECK-NOT: MOV32rr
----------------
And it would be better to have an additional testcase based on this one but with %r9 changed to some register that has 8bit_hi subregister.


https://reviews.llvm.org/D40524





More information about the llvm-commits mailing list