diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-03-08 10:17:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 10:17:54 -0800 |
commit | a456885efc95eb141d051ade517432c531d427f7 (patch) | |
tree | bef6b31035a67def164f61227c722ce2f76939ab /lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp | |
parent | 5a95378659506b0ce94ceb79a43477e73c9756f4 (diff) | |
download | llvm-a456885efc95eb141d051ade517432c531d427f7.zip llvm-a456885efc95eb141d051ade517432c531d427f7.tar.gz llvm-a456885efc95eb141d051ade517432c531d427f7.tar.bz2 |
[SelectionDAG] Allow FREEZE to be hoisted before integer SETCC. (#84241)
Teach canCreateUndefOrPoison that ISD::SETCC with integer operands can
never create undef/poison. FP SETCC is more complicated and will be
handled in a future patch.
Teach isGuaranteedNotToBeUndefOrPoison that ISD::CONDCODE is not
poison/undef. Its a special constant only used by setcc/select_cc like
nodes. This is needed since the hoisting will only hoist if exactly one
operand might be poison. setcc has 3 operand including the condition
code.
Recovers some regression from #84232.
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp')
0 files changed, 0 insertions, 0 deletions