projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20822e2
)
Fix one more unused warning in release build, NFC
author
Haojian Wu
<hokein.wu@gmail.com>
Mon, 19 Sep 2022 18:56:39 +0000
(20:56 +0200)
committer
Haojian Wu
<hokein.wu@gmail.com>
Mon, 19 Sep 2022 18:56:39 +0000
(20:56 +0200)
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
b/llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
index
cb1d795
..
f9e81a2
100755
(executable)
--- a/
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
+++ b/
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
@@
-2141,9
+2141,9
@@
HexagonTargetLowering::LowerHvxFpToInt(SDValue Op, SelectionDAG &DAG) const {
SDValue
HexagonTargetLowering::LowerHvxIntToFp(SDValue Op, SelectionDAG &DAG) const {
- unsigned Opc = Op.getOpcode();
// Catch invalid conversion ops (just in case).
- assert(Opc == ISD::SINT_TO_FP || Opc == ISD::UINT_TO_FP);
+ assert(Op.getOpcode() == ISD::SINT_TO_FP ||
+ Op.getOpcode() == ISD::UINT_TO_FP);
MVT ResTy = ty(Op);
MVT IntTy = ty(Op.getOperand(0)).getVectorElementType();