[PATCH] D29856: [X86]: Add imp-uses of live regs when creating conditional tail calls (PR31257)
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 10 17:40:00 PST 2017
qcolombet added inline comments.
================
Comment at: lib/Target/X86/X86InstrInfo.cpp:5665
+ /*isImplicit*/ true));
+ }
+
----------------
You'll need to add implicit-def as well otherwise the liveness will think later uses are referencing undef values, because this are still clobbered by the TC.
Basically, you've fixed the part of the live-range getting to the TC, but you have to fix part that leaves the TC.
https://reviews.llvm.org/D29856
More information about the llvm-commits
mailing list