summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/codegen-prepare-replacephi.mir
Commit message (Collapse)AuthorAgeFilesLines
* test/CodeGen/X86/codegen-prepare-replacephi.mir requires a default tripleDaniel Sanders2019-03-271-0/+2
| | | | llvm-svn: 357122
* [CodeGenPrepare] avoid crashing from replacing a phi twiceMikael Holmen2019-03-151-0/+45
Summary: This is a fix to bug 41052: https://bugs.llvm.org/show_bug.cgi?id=41052 While trying to optimize a memory instruction in a dead basic block, we end up registering the same phi for replacement twice. This patch avoids registering more than the first replacement candidate for a phi. Patch by: JesperAntonsson Reviewers: skatkov, aprantl Reviewed By: aprantl Subscribers: jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59358 llvm-svn: 356260
OpenPOWER on IntegriCloud