diff options
| author | Sander de Smalen <sander.desmalen@arm.com> | 2019-04-10 16:24:48 +0000 |
|---|---|---|
| committer | Sander de Smalen <sander.desmalen@arm.com> | 2019-04-10 16:24:48 +0000 |
| commit | 0e66db5d771898273ea04e5e067859b9907f49e6 (patch) | |
| tree | a31d8ec84cb0f1829c016e2db4f3ee4465f9a3a9 /llvm/lib/Analysis/InlineCost.cpp | |
| parent | 37d8d55823b6182dc9772130a541c29945aa4822 (diff) | |
| download | bcm5719-llvm-0e66db5d771898273ea04e5e067859b9907f49e6.tar.gz bcm5719-llvm-0e66db5d771898273ea04e5e067859b9907f49e6.zip | |
Improve compile-time performance in computeKnownBitsFromAssume.
This patch changes the order of pattern matching by first testing
a compare instruction's predicate, before doing the pattern
match for the whole expression tree.
Patch by Paul Walker.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D60504
llvm-svn: 358097
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
0 files changed, 0 insertions, 0 deletions

