llvm-project
2a497195 - [SelectionDAGBuilder] Look for appropriate INLINEASM_BR instruction to verify (#152591)

Commit
88 days ago
[SelectionDAGBuilder] Look for appropriate INLINEASM_BR instruction to verify (#152591) Partially fix #149023. The original code `MRI.def_begin(Reg)->getParent()` may return the incorrect MI, as the physical register `Reg` may have multiple definitions. This patch selects the correct MI to verify by comparing the MBB of each definition. New testcase hangs with -O1/2/3 enabled. The BranchFolding may be to blame.
Author
Parents
Loading