llvm-project/llvm/lib/CodeGen/SelectionDAG
Craig Topper c11051a400 [SelectionDAG] Add a freeze to ISD::ABS expansion.
I had initially assumed this was the problem with
https://github.com/llvm/llvm-project/issues/55271#issuecomment-1133426243

But it turns out that was a simpler issue. This patch is still
more correct than what we were doing before so figured I'd submit
it anyway.

No test case because I'm not sure how to get an undef around
until expansion.

Looking at the test deltas I wonder if it be valid to combine
(sext_inreg (freeze (aextload X))) -> (freeze (sextload X)).

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D126175
2022-05-22 14:29:58 -07:00
..
CMakeLists.txt
DAGCombiner.cpp [SVE] Enable use of 32bit gather/scatter indices for fixed length vectors 2022-05-22 12:32:30 +01:00
FastISel.cpp [FastISel] Fix load folding for registers with fixups 2022-05-16 10:25:25 +02:00
FunctionLoweringInfo.cpp [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
InstrEmitter.cpp [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes 2022-04-06 11:55:38 +01:00
InstrEmitter.h [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes 2022-04-06 11:55:38 +01:00
LegalizeDAG.cpp [CodeGen] Fix ConvertNodeToLibcall for STRICT_FPOWI 2022-05-11 08:58:06 +08:00
LegalizeFloatTypes.cpp [SDAG] avoid libcalls to fmin/fmax for soft-float targets 2022-03-30 11:22:03 -04:00
LegalizeIntegerTypes.cpp [LegalizeTypes][VP] Add integer promotion support for vp.sitofp/vp.uitofp 2022-05-22 02:13:45 +00:00
LegalizeTypes.cpp [LegalizeTypes] Remove double map lookup in DAGTypeLegalizer::PerformExpensiveChecks. NFC 2022-05-21 00:06:59 -07:00
LegalizeTypes.h [LegalizeTypes] Don't assume fshl/fshr shift amount type matches the other operands. 2022-05-07 11:44:07 -07:00
LegalizeTypesGeneric.cpp [SelectionDAG][VP] Add splitting support for VP_MERGE 2022-01-25 10:33:23 +00:00
LegalizeVectorOps.cpp [RISCV][VP] Add basic RVV codegen for vp.fcmp 2022-04-07 09:16:07 +01:00
LegalizeVectorTypes.cpp [LegalizeVectorTypes][VP] Add widen and split support for VP_SETCC 2022-05-19 07:42:39 +00:00
ResourcePriorityQueue.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
SDNodeDbgValue.h Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
ScheduleDAGFast.cpp [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes 2022-04-06 11:55:38 +01:00
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes 2022-04-06 11:55:38 +01:00
ScheduleDAGSDNodes.h [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
ScheduleDAGVLIW.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
SelectionDAG.cpp [SelectionDAG] Fold abs(undef) to 0 instead of undef. 2022-05-22 12:47:32 -07:00
SelectionDAGAddressAnalysis.cpp [SelectionDAG] Replace error prone index check in BaseIndexOffset::computeAliasing 2021-10-05 12:15:55 +02:00
SelectionDAGBuilder.cpp [SelectionDAGBuilder] Pass fast math flags to most of VP SDNodes. 2022-05-18 16:15:47 +08:00
SelectionDAGBuilder.h [RISCV][VP] Add basic RVV codegen for vp.icmp 2022-04-06 16:51:22 +01:00
SelectionDAGDumper.cpp Intrinsic for checking floating point class 2022-04-26 13:09:16 +07:00
SelectionDAGISel.cpp [FastISel] Add some debug output (NFC) 2022-05-12 12:25:20 +02:00
SelectionDAGPrinter.cpp Revert "[CodeGen] Place SDNode debug ID declaration under appropriate #if" 2022-04-06 20:32:53 +03:00
SelectionDAGTargetInfo.cpp
StatepointLowering.cpp [StatepointLowering] Properly handle local and non-local relocates of the same value. 2022-05-16 17:02:34 +07:00
StatepointLowering.h More precisely type code used for gc.relocate assertions [nfc] 2021-04-06 11:27:36 -07:00
TargetLowering.cpp [SelectionDAG] Add a freeze to ISD::ABS expansion. 2022-05-22 14:29:58 -07:00