summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
diff options
context:
space:
mode:
authorDorit Nuzman <dorit.nuzman@intel.com>2017-11-05 16:53:15 +0000
committerDorit Nuzman <dorit.nuzman@intel.com>2017-11-05 16:53:15 +0000
commiteb13dd3eac777d1b3cfcbf6d28840c2e0a66e892 (patch)
treede5c6f419dce552984d3385b67f0b12356bcc458 /llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
parent92403c12b5d81c6877e5fd037974eeb8b2075ec4 (diff)
downloadbcm5719-llvm-eb13dd3eac777d1b3cfcbf6d28840c2e0a66e892.tar.gz
bcm5719-llvm-eb13dd3eac777d1b3cfcbf6d28840c2e0a66e892.zip
[LV/LAA] Avoid specializing a loop for stride=1 when this predicate implies a
single-iteration loop This fixes PR34681. Avoid adding the "Stride == 1" predicate when we know that Stride >= Trip-Count. Such a predicate will effectively optimize a single or zero iteration loop, as Trip-Count <= Stride == 1. Differential Revision: https://reviews.llvm.org/D38785 llvm-svn: 317438
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud