summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/TargetLibraryInfo.cpp
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2017-08-10 02:23:14 +0000
committerHiroshi Yamauchi <yamauchi@google.com>2017-08-10 02:23:14 +0000
commitccd412f48d796102cc7694abf1be3ff43953eb99 (patch)
tree40993e409ad0cca89591c3062b22eef5ed3ab4c6 /llvm/lib/Analysis/TargetLibraryInfo.cpp
parent58933c5d034fef6344730c308db8a69736df1796 (diff)
downloadbcm5719-llvm-ccd412f48d796102cc7694abf1be3ff43953eb99.tar.gz
bcm5719-llvm-ccd412f48d796102cc7694abf1be3ff43953eb99.zip
[LVI] Fix LVI compile time regression around constantFoldUser()
Summary: Avoid checking each operand and calling getValueFromCondition() before calling constantFoldUser() when the instruction type isn't supported by constantFoldUser(). This fixes a large compile time regression in an internal build. Reviewers: sanjoy Reviewed By: sanjoy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36552 llvm-svn: 310545
Diffstat (limited to 'llvm/lib/Analysis/TargetLibraryInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud