[BreakFalseDeps] Harden pickBestRegisterForUndef against changing tied operands or...
authorCraig Topper <craig.topper@gmail.com>
Sat, 9 May 2020 22:33:08 +0000 (15:33 -0700)
committerCraig Topper <craig.topper@gmail.com>
Sat, 9 May 2020 22:37:31 +0000 (15:37 -0700)
commit24b3c2d0585f2f96574e9819313ab05e8943ee02
tree71879b75ae6e3b4b10ba8cf7f820807b53ab893e
parent57fb56b30e85c8e9662075c671d02fbdc37d8f3b
[BreakFalseDeps] Harden pickBestRegisterForUndef against changing tied operands or physical registers that aren't renamable.

I don't have any test cases since X86 doesn't return any tied
operands from getUndefRegClearance today. But conceivably we could
want BreakFalseDeps to insert a dependency breaking XOR for
a tied operand in the future.
llvm/lib/CodeGen/BreakFalseDeps.cpp