diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-02-09 12:34:23 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-02-09 12:34:23 +0000 |
commit | 2683e5676c22a6c545759afdfbd77190f42b658a (patch) | |
tree | 63579cd7d65a90112cb8599f299391a980190e07 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | eb0ad45f3f8f16dbcf91ccf1466389d69643f48e (diff) | |
download | llvm-2683e5676c22a6c545759afdfbd77190f42b658a.zip llvm-2683e5676c22a6c545759afdfbd77190f42b658a.tar.gz llvm-2683e5676c22a6c545759afdfbd77190f42b658a.tar.bz2 |
Allow ScalarEvolution to catch more min/max cases
For the attached test case different types are used in the ICmpInst
and SelectInst that represent the min/max expressions. However, if the
ICmpInst type is smaller a comparison with the sign/zero extended
operands would have yielded the same result. This situation might
arise after the instruction combination pass was applied.
Differential Revision: http://reviews.llvm.org/D7338
llvm-svn: 228572
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions