OSDN Git Service

[IRCE] Add an option to skip profitability checks
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 22 Jul 2016 00:40:56 +0000 (00:40 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 22 Jul 2016 00:40:56 +0000 (00:40 +0000)
commit304682fc9c599ce2bf7661f051ad7d10ea1065be
tree65e57ddba66e151a05dcdb10df1e9fbf94e5e0e3
parent09d947ac61582b652d0fa49ea5fb90c389348fe3
[IRCE] Add an option to skip profitability checks

If `-irce-skip-profitability-checks` is passed in, IRCE will kick in in
all cases where it is legal for it to kick in.  This flag is intended to
help diagnose and analyse performance issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276372 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
test/Transforms/IRCE/skip-profitability-checks.ll [new file with mode: 0644]