[PATCH] D149680: [SelectionDAGBuilder] Use getPtrExtOrTrunc in place of getZExtOrTrunc. NFC
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 13:09:09 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3fb1041165d7: [SelectionDAGBuilder] Use getPtrExtOrTrunc in place of getZExtOrTrunc. NFC (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149680/new/
https://reviews.llvm.org/D149680
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -4234,7 +4234,7 @@
Chains[ChainI] = L.getValue(1);
if (MemVTs[i] != ValueVTs[i])
- L = DAG.getZExtOrTrunc(L, dl, ValueVTs[i]);
+ L = DAG.getPtrExtOrTrunc(L, dl, ValueVTs[i]);
Values[i] = L;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149680.523909.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/c9e6eba3/attachment.bin>
More information about the llvm-commits
mailing list