[PATCH] D61671: X86WinAllocaExpander: Drop code looking through register copies (PR41786)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 03:33:37 PDT 2019
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/X86/X86WinAllocaExpander.cpp:269
+ if (MRI->use_empty(AmountReg)) {
MachineInstr *AmountDef = MRI->getUniqueVRegDef(AmountReg);
AmountDef->eraseFromParent();
----------------
Can this be null? We were testing for it before and still do above.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61671/new/
https://reviews.llvm.org/D61671
More information about the llvm-commits
mailing list