diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-28 18:30:17 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-28 18:32:57 +0100 |
commit | dcd21572f971ae5b5f1bf1f1abefafa0085404e1 (patch) | |
tree | 938b038eb42cef0815209300d3e8eb5521b50b07 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | c7ff2c0da1a66d8bae52751c2af4135e67bf3519 (diff) | |
download | llvm-dcd21572f971ae5b5f1bf1f1abefafa0085404e1.zip llvm-dcd21572f971ae5b5f1bf1f1abefafa0085404e1.tar.gz llvm-dcd21572f971ae5b5f1bf1f1abefafa0085404e1.tar.bz2 |
[ValueTracking] Fix isKnownNonEqual() with constexpr mul
Confusingly, BinaryOperator is not an Operator,
OverflowingBinaryOperator is... We were implicitly assuming that
the multiply is an Instruction here.
This fixes the assertion failure reported in
https://reviews.llvm.org/D92726#2472827.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions