[llvm] [X86][SimplifyCFG][CodeGen] Support hoisting load/store with conditional faulting (PR #95515)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 07:54:48 PDT 2024


================
@@ -3895,6 +3895,18 @@ class TargetLowering : public TargetLoweringBase {
                            const SDValue OldRHS, SDValue &Chain,
                            bool IsSignaling = false) const;
 
+  virtual SDValue visitMaskedLoadForCondFaulting(
+      SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, MachineMemOperand *MMO,
+      SDValue &NewLoad, SDValue Ptr, SDValue PassThru, SDValue Mask) const {
+    llvm_unreachable("Not Implemented");
----------------
KanRobert wrote:

Probably not.  `initializeSplitCSR`, `insertCopiesSplitCSR` and `LowerFormalArguments` use `Not Implemented`

https://github.com/llvm/llvm-project/pull/95515


More information about the llvm-commits mailing list