summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2019-10-21 08:31:25 +0000
committerGuillaume Chatelet <gchatelet@google.com>2019-10-21 08:31:25 +0000
commit3cc4835c00225d52453014a05f0a2b07f1c1973f (patch)
tree927857ee9b3be55427b85d5667073208fb150781 /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
parent9948fac6c1fae87b31a35afa84fcdb118b671c43 (diff)
downloadbcm5719-llvm-3cc4835c00225d52453014a05f0a2b07f1c1973f.tar.gz
bcm5719-llvm-3cc4835c00225d52453014a05f0a2b07f1c1973f.zip
Use Align for TFL::TransientStackAlignment
Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: arsenm, dschuff, jyknight, sdardis, jvesely, nhaehnle, sbc100, jgravelle-google, hiraditya, aheejin, fedor.sergeev, jrtc27, atanasyan, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69216 llvm-svn: 375398
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
index 95ddc1c88b5..fdc0f561dcd 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
@@ -31,7 +31,7 @@ public:
WebAssemblyFrameLowering()
: TargetFrameLowering(StackGrowsDown, /*StackAlignment=*/Align(16),
/*LocalAreaOffset=*/0,
- /*TransientStackAlignment=*/16,
+ /*TransientStackAlignment=*/Align(16),
/*StackRealignable=*/true) {}
MachineBasicBlock::iterator
OpenPOWER on IntegriCloud