projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WebAssembly] Implement eliminateCallFramePseudo
[oota-llvm.git]
/
lib
/
Target
/
WebAssembly
/
WebAssemblyISelLowering.cpp
diff --git
a/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
b/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index 597d6f4fd1dfe3a150681fc4e8a1b2cf7b475396..2364366f3f54457bf37bc0e25482f2bb96dedc9c 100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@
-445,7
+445,7
@@
WebAssemblyTargetLowering::LowerCall(CallLoweringInfo &CLI,
}
if (NumBytes) {
- SDValue Unused = DAG.get
UNDEF(
PtrVT);
+ SDValue Unused = DAG.get
TargetConstant(0, DL,
PtrVT);
Chain = DAG.getCALLSEQ_END(Chain, NB, Unused, SDValue(), DL);
}