[llvm] [DAGISel] Keep flags when converting FP load/store to integer (PR #111679)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 06:59:06 PDT 2024
================
@@ -20322,13 +20322,11 @@ SDValue DAGCombiner::TransformFPLoadStorePair(SDNode *N) {
!FastLD || !FastST)
return SDValue();
- SDValue NewLD =
- DAG.getLoad(IntVT, SDLoc(Value), LD->getChain(), LD->getBasePtr(),
- LD->getPointerInfo(), LD->getAlign());
+ SDValue NewLD = DAG.getLoad(IntVT, SDLoc(Value), LD->getChain(),
----------------
arsenm wrote:
We ought to preserve the in-memory type, but we have very lax treatment of it today
https://github.com/llvm/llvm-project/pull/111679
More information about the llvm-commits
mailing list