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:
ff286d7
)
[AArch64] Ensure BICi and ORRi have same input and output types. NFC
author
David Green
<david.green@arm.com>
Sun, 2 Jul 2023 10:17:59 +0000
(11:17 +0100)
committer
David Green
<david.green@arm.com>
Sun, 2 Jul 2023 10:17:59 +0000
(11:17 +0100)
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index
1afc70f
..
db55853
100644
(file)
--- a/
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@
-11937,7
+11937,8
@@
static SDValue tryAdvSIMDModImm32(unsigned NewOp, SDValue Op, SelectionDAG &DAG,
SDValue Mov;
if (LHS)
- Mov = DAG.getNode(NewOp, dl, MovTy, *LHS,
+ Mov = DAG.getNode(NewOp, dl, MovTy,
+ DAG.getNode(AArch64ISD::NVCAST, dl, MovTy, *LHS),
DAG.getConstant(Value, dl, MVT::i32),
DAG.getConstant(Shift, dl, MVT::i32));
else
@@
-11981,7
+11982,8
@@
static SDValue tryAdvSIMDModImm16(unsigned NewOp, SDValue Op, SelectionDAG &DAG,
SDValue Mov;
if (LHS)
- Mov = DAG.getNode(NewOp, dl, MovTy, *LHS,
+ Mov = DAG.getNode(NewOp, dl, MovTy,
+ DAG.getNode(AArch64ISD::NVCAST, dl, MovTy, *LHS),
DAG.getConstant(Value, dl, MVT::i32),
DAG.getConstant(Shift, dl, MVT::i32));
else