summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Support.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-18 21:35:19 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-03-18 21:35:19 +0000
commit106f0cdefb02afc3064268dc7a71419b409ed2f3 (patch)
tree4ad937010aa8295e2c74b569946e7fa75b496f58 /llvm/include/llvm-c/Support.h
parent930341ba3066fdac4040b13f3404f8e02eae7afb (diff)
downloadbcm5719-llvm-106f0cdefb02afc3064268dc7a71419b409ed2f3.tar.gz
bcm5719-llvm-106f0cdefb02afc3064268dc7a71419b409ed2f3.zip
[ValueTracking][InstSimplify] Support min/max selects in computeConstantRange()
Add support for min/max flavor selects in computeConstantRange(), which allows us to fold comparisons of a min/max against a constant in InstSimplify. This was suggested by spatel as an alternative approach to D59378. I've also added the infinite looping test from that revision here. Differential Revision: https://reviews.llvm.org/D59506 llvm-svn: 356415
Diffstat (limited to 'llvm/include/llvm-c/Support.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud