[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:55:08 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");
+  }
+
+  virtual SDValue visitMaskedStoreForCondFaulting(
+      SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, MachineMemOperand *MMO,
+      SDValue Ptr, SDValue Val, SDValue Mask) const {
+    llvm_unreachable("Not Implemented");
----------------
KanRobert wrote:

Replied above.

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


More information about the llvm-commits mailing list