[llvm] DAG: Use poison in getLoad/getStore for offsets (PR #212066)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 02:40:08 PDT 2026


================
@@ -10738,14 +10738,14 @@ SDValue SelectionDAG::getLoad(EVT VT, const SDLoc &dl, SDValue Chain,
                               MaybeAlign Alignment,
                               MachineMemOperand::Flags MMOFlags,
                               const AAMDNodes &AAInfo, const MDNode *Ranges) {
-  SDValue Undef = getUNDEF(Ptr.getValueType());
+  SDValue Undef = getPOISON(Ptr.getValueType());
----------------
RKSimon wrote:

`<pedantic>` SDValue Poison = ?

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


More information about the llvm-commits mailing list