diff options
| author | Hiroshi Yamauchi <yamauchi@google.com> | 2017-08-10 02:23:14 +0000 |
|---|---|---|
| committer | Hiroshi Yamauchi <yamauchi@google.com> | 2017-08-10 02:23:14 +0000 |
| commit | ccd412f48d796102cc7694abf1be3ff43953eb99 (patch) | |
| tree | 40993e409ad0cca89591c3062b22eef5ed3ab4c6 /llvm/lib/Analysis/VectorUtils.cpp | |
| parent | 58933c5d034fef6344730c308db8a69736df1796 (diff) | |
| download | bcm5719-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/VectorUtils.cpp')
0 files changed, 0 insertions, 0 deletions

