diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-06-04 23:11:30 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-06-04 23:11:30 +0000 |
| commit | 00f7d9ecc8229b0dd36d362f82b4f09869d12e71 (patch) | |
| tree | 26d591e319629432c7a77f4ce15b1470ba6557b4 /llvm/lib/Target/Mips/MipsMachineFunction.cpp | |
| parent | 70d18df18fab3d9d73b724b1042abaa536289bbe (diff) | |
| download | bcm5719-llvm-00f7d9ecc8229b0dd36d362f82b4f09869d12e71.tar.gz bcm5719-llvm-00f7d9ecc8229b0dd36d362f82b4f09869d12e71.zip | |
[InstCombine] Don't miscompile safe increment idiom
We cleverly handle cases where computation done in one argument of a select
instruction is suitable for the other operand, thus obviating the need
of the select and the comparison. However, the other operand cannot
have flags.
This fixes PR23757.
llvm-svn: 239115
Diffstat (limited to 'llvm/lib/Target/Mips/MipsMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions

