Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [FastISel][X86] Only fold the cmp into the select when both instructions are ↵ | Juergen Ributzka | 2014-06-25 | 1 | -0/+50 |
in the same basic block. If the cmp is in a different basic block, then it is possible that not all operands of that compare have defined registers. This can happen when one of the operands to the cmp is a load and the load gets folded into the cmp. In this case FastISel will skip the load instruction and the vreg is never defined. llvm-svn: 211730 |