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:
f835fe8
)
[VE] Fix SDNode user loop after efa896e5f7
author
Simon Moll
<simon.moll@emea.nec.com>
Mon, 15 Nov 2021 08:53:09 +0000
(09:53 +0100)
committer
Simon Moll
<simon.moll@emea.nec.com>
Mon, 15 Nov 2021 08:53:09 +0000
(09:53 +0100)
Rewriting SDNode user loops broke VEISelLowering (commit
efa896e5f7
).
This fixes it.
llvm/lib/Target/VE/VEISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/VE/VEISelLowering.cpp
b/llvm/lib/Target/VE/VEISelLowering.cpp
index
3c21e9d
..
3231554
100644
(file)
--- a/
llvm/lib/Target/VE/VEISelLowering.cpp
+++ b/
llvm/lib/Target/VE/VEISelLowering.cpp
@@
-2513,7
+2513,7
@@
static bool isI32Insn(const SDNode *User, const SDNode *N) {
default:
// If the use is an instruction which treats the source operand as i32,
// it is safe to avoid truncate here.
- if (isI32Insn(
*UI
, N))
+ if (isI32Insn(
U
, N))
continue;
break;
case ISD::ANY_EXTEND: