diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2020-10-27 12:21:40 +0000 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2020-10-27 12:22:20 +0000 |
commit | 5d0308009284a0c8b75fb683eaba89c2e0c677f6 (patch) | |
tree | cf3fc877e663d8e65df592813225e178a180a78c /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 2107e4b10ea5010019ed4e57989ec7cbe84dadc0 (diff) | |
download | llvm-5d0308009284a0c8b75fb683eaba89c2e0c677f6.zip llvm-5d0308009284a0c8b75fb683eaba89c2e0c677f6.tar.gz llvm-5d0308009284a0c8b75fb683eaba89c2e0c677f6.tar.bz2 |
[TargetLowering] Add i1 condition for bit comparison fold
For i1 types, boolean false is represented identically regardless of
the boolean content, so we can allow optimizations that otherwise
would not be correct for booleans with false represented as a negative
one.
Patch by Erik Hogeman.
Differential Revision: https://reviews.llvm.org/D90145
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions