Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [CodeGenPrepare] Set debug locs when folding a comparison into a ↵ | Vedant Kumar | 2018-08-22 | 1 | -0/+4 |
| | | | | | | | | | uadd.with.overflow CGP can replace a branch + select with a uadd.with.overflow. Teach it to set debug locations as it does this. llvm-svn: 340432 | ||||
* | [InstCombine][CodeGenPrep] Create llvm.uadd.with.overflow in CGP. | Sanjoy Das | 2015-04-10 | 1 | -0/+74 |
Summary: This change moves creating calls to `llvm.uadd.with.overflow` from InstCombine to CodeGenPrep. Combining overflow check patterns into calls to the said intrinsic in InstCombine inhibits optimization because it introduces an intrinsic call that not all other transforms and analyses understand. Depends on D8888. Reviewers: majnemer, atrick Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8889 llvm-svn: 234638 |