summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-08-24 22:31:52 +0000
committerDan Gohman <dan433584@gmail.com>2015-08-24 22:31:52 +0000
commit2683a5534e55e1425ae94013fa84a8dbe4d57f6a (patch)
tree1b05674af62c4a9dbd748f2d6e023cc1655f3d09 /llvm/lib/Target
parent0bb50d92b61c213f391dc0c02bfd31dfbbcece19 (diff)
downloadbcm5719-llvm-2683a5534e55e1425ae94013fa84a8dbe4d57f6a.tar.gz
bcm5719-llvm-2683a5534e55e1425ae94013fa84a8dbe4d57f6a.zip
[WebAssembly] DYNAMIC_STACKALLOC returns a pointer.
llvm-svn: 245893
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
index c309db48f63..d3ab439b523 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -153,7 +153,7 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering(
// Dynamic stack allocation: use the default expansion.
setOperationAction(ISD::STACKSAVE, MVT::Other, Expand);
setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand);
- setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
+ setOperationAction(ISD::DYNAMIC_STACKALLOC, MVTPtr, Expand);
}
FastISel *WebAssemblyTargetLowering::createFastISel(
OpenPOWER on IntegriCloud