We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e066b6 commit 1332db3Copy full SHA for 1332db3
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -20455,10 +20455,8 @@ SDValue DAGCombiner::TransformFPLoadStorePair(SDNode *N) {
20455
Value.hasOneUse()) {
20456
LoadSDNode *LD = cast<LoadSDNode>(Value);
20457
EVT VT = LD->getMemoryVT();
20458
- if (!VT.isFloatingPoint() ||
20459
- VT != ST->getMemoryVT() ||
20460
- LD->isNonTemporal() ||
20461
- ST->isNonTemporal() ||
+ if (!VT.isSimple() || !VT.isFloatingPoint() || VT != ST->getMemoryVT() ||
+ LD->isNonTemporal() || ST->isNonTemporal() ||
20462
LD->getPointerInfo().getAddrSpace() != 0 ||
20463
ST->getPointerInfo().getAddrSpace() != 0)
20464
return SDValue();
0 commit comments