aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-03-08 10:17:54 -0800
committerGitHub <noreply@github.com>2024-03-08 10:17:54 -0800
commita456885efc95eb141d051ade517432c531d427f7 (patch)
treebef6b31035a67def164f61227c722ce2f76939ab /lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
parent5a95378659506b0ce94ceb79a43477e73c9756f4 (diff)
downloadllvm-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