projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a2b12
)
[WebAssembly] Use SelectionDAG::getUNDEF. NFC.
author
Dan Gohman
<dan433584@gmail.com>
Fri, 4 Dec 2015 17:09:42 +0000
(17:09 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Fri, 4 Dec 2015 17:09:42 +0000
(17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254726
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
b/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index 2485df1ab5d20db2ab86effbf60f083fd94f4de5..9f0860550533e822c957234d02c6d3ea454a0fb6 100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@
-400,7
+400,7
@@
SDValue WebAssemblyTargetLowering::LowerFormalArguments(
In.Used
? DAG.getNode(WebAssemblyISD::ARGUMENT, DL, In.VT,
DAG.getTargetConstant(InVals.size(), DL, MVT::i32))
- : DAG.get
Node(ISD::UNDEF, DL,
In.VT));
+ : DAG.get
UNDEF(
In.VT));
// Record the number and types of arguments.
MF.getInfo<WebAssemblyFunctionInfo>()->addParam(In.VT);