aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-01-06 17:34:22 +0000
committerSanjay Patel <spatel@rotateright.com>2018-01-06 17:34:22 +0000
commit26a6fcde83f94543405373dcff0ae86afb24cea9 (patch)
tree7da0c994dc46424f01249512f3fb04191acf3de7 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentf7e775291e0c41125f889206b0328627524e5c65 (diff)
downloadllvm-26a6fcde83f94543405373dcff0ae86afb24cea9.zip
llvm-26a6fcde83f94543405373dcff0ae86afb24cea9.tar.gz
llvm-26a6fcde83f94543405373dcff0ae86afb24cea9.tar.bz2
[InstCombine] relax use constraint for min/max (~a, ~b) --> ~min/max(a, b)
In the minimal case, this won't remove instructions, but it still improves uses of existing values. In the motivating example from PR35834, it does remove instructions, and sets that case up to be optimized by something like D41603: https://reviews.llvm.org/D41603 llvm-svn: 321936
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions