[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
Tue Nov 28 08:16:03 PST 2017


a.elovikov added inline comments.


================
Comment at: test/CodeGen/X86/fixup-bw-inst.mir:195
+
+    %r9b = MOV8rr undef %r10b, implicit-def %eflags
+    ; CHECK-NOT: MOV32rr
----------------
I'm surprised not to see "%R9D<imp-use,kill>, %R9D<imp-def>" from the Bugzilla here. IIIC the use below does not prevent anything because it might be use-undef so I'm not sure what exactly in this test prevents the transformation.


https://reviews.llvm.org/D40524





More information about the llvm-commits mailing list