[PATCH] D98962: [Hexagon] Return an i64 for result 0 from LowerREADCYCLECOUNTER instead of an i32.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 19 10:55:09 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG95998b898c68: [Hexagon] Return an i64 for result 0 from LowerREADCYCLECOUNTER instead of an… (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98962/new/
https://reviews.llvm.org/D98962
Files:
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
Index: llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
===================================================================
--- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
+++ llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
@@ -703,7 +703,7 @@
SelectionDAG &DAG) const {
SDValue Chain = Op.getOperand(0);
SDLoc dl(Op);
- SDVTList VTs = DAG.getVTList(MVT::i32, MVT::Other);
+ SDVTList VTs = DAG.getVTList(MVT::i64, MVT::Other);
return DAG.getNode(HexagonISD::READCYCLE, dl, VTs, Chain);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98962.331933.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/e3ccb28c/attachment.bin>
More information about the llvm-commits
mailing list