aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBrendon Cahoon <brendon.cahoon@amd.com>2021-07-30 12:45:04 -0400
committerBrendon Cahoon <brendon.cahoon@amd.com>2021-07-30 17:24:08 -0400
commitc4c379d633a136d544436d01c77d75c094d90b12 (patch)
tree84d9877cd1201fb487cac0f69c8cc97717047ba0 /flang/lib/Frontend/CompilerInvocation.cpp
parent8dfd6cae9bd62ae5ef056b994ece2e98f1558830 (diff)
downloadllvm-c4c379d633a136d544436d01c77d75c094d90b12.zip
llvm-c4c379d633a136d544436d01c77d75c094d90b12.tar.gz
llvm-c4c379d633a136d544436d01c77d75c094d90b12.tar.bz2
[LoopStrengthReduction] Fix pointer extend asserts
Additional asserts were added to ScalarEvolution to enforce pointer/int type rules. An assert is triggered when the LSR pass attempts to extend a pointer SCEV in GenerateTruncates. This patch changes GenerateTruncates to exit early if the Formaula contains a ScaledReg or BaseReg with a pointer type. Differential Revision: https://reviews.llvm.org/D107185
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions