diff options
author | Craig Topper <craig.topper@gmail.com> | 2019-10-27 00:41:00 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2019-10-27 10:07:15 -0700 |
commit | 73f255b83ad77f6d10bc319592f04bbd8461bbcf (patch) | |
tree | 93da47db243a5f19d4f17935d0720d06c76e3edd /lldb/scripts/Python/python-wrapper.swig | |
parent | 174967f15369fafb0c0bfc13d35963f7890b2c8b (diff) | |
download | llvm-73f255b83ad77f6d10bc319592f04bbd8461bbcf.zip llvm-73f255b83ad77f6d10bc319592f04bbd8461bbcf.tar.gz llvm-73f255b83ad77f6d10bc319592f04bbd8461bbcf.tar.bz2 |
[TargetLowering] Add getBooleanContents contents check to "SETCC (SETCC), [0|1], [EQ|NE] -> SETCC" combine.
This combine is only valid if the inner setcc produces a 0/1 result
or the inner type is MVT::i1.
I haven't seen this cause any issues, just happened to notice it
while reviewing combines in this function.
While there also fix another call to use the value type from the
SDValue for the operand instead of calling SDNode::getValueType(0).
Though its likely the use is result 0, its not guaranteed.
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions