diff options
| author | Michael Kruse <llvm@meinersbur.de> | 2016-07-12 15:08:47 +0000 |
|---|---|---|
| committer | Michael Kruse <llvm@meinersbur.de> | 2016-07-12 15:08:47 +0000 |
| commit | e448364320d143abd8ec87387565489862dc3049 (patch) | |
| tree | 93da7f12e8d8c010066ba500907f72b70eff1555 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
| parent | 8a93f822e1763b58a452107c58f925a1a61eb6ff (diff) | |
| download | llvm-e448364320d143abd8ec87387565489862dc3049.zip llvm-e448364320d143abd8ec87387565489862dc3049.tar.gz llvm-e448364320d143abd8ec87387565489862dc3049.tar.bz2 | |
[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 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions
