summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Multilib.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-07-12 15:08:47 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-07-12 15:08:47 +0000
commite448364320d143abd8ec87387565489862dc3049 (patch)
tree93da7f12e8d8c010066ba500907f72b70eff1555 /clang/lib/Driver/Multilib.cpp
parent8a93f822e1763b58a452107c58f925a1a61eb6ff (diff)
downloadbcm5719-llvm-e448364320d143abd8ec87387565489862dc3049.tar.gz
bcm5719-llvm-e448364320d143abd8ec87387565489862dc3049.zip
[SCEVAffinator] Fix assertion checking for constant divisor.
An assertion in visitSDivInstruction() checked whether the divisor is constant by checking whether the argument is a ConstantInt. However, SCEVValidator allows the divisor to be simplified to a constant by ScalarEvolution. We synchronize the implementation of SCEVValidator and SCEVAffinator to both accept simplified SCEV expressions. llvm-svn: 275174
Diffstat (limited to 'clang/lib/Driver/Multilib.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud