aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorChang-Sun Lin, Jr <chang-sun.lin.jr@intel.com>2021-08-19 20:01:34 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-08-19 20:03:44 +0300
commit9cae598f8b647bccab357c4457a67ec0ed424611 (patch)
tree1b3e145c0cb93d9ced4bf9c9c2bea0a85953ad00 /llvm/lib/Support/CommandLine.cpp
parent0f0905605e52887eb05a08df4e3c89c617efaa70 (diff)
downloadllvm-9cae598f8b647bccab357c4457a67ec0ed424611.zip
llvm-9cae598f8b647bccab357c4457a67ec0ed424611.tar.gz
llvm-9cae598f8b647bccab357c4457a67ec0ed424611.tar.bz2
[InstCombine] Avoid folding GEPs across loop boundaries
Folding a GEP from outside to inside a loop will materialize an add where there wasn't an equivalent operation before. Check the containing loops before making this fold. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D107935
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions