diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-07-01 22:26:26 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-07-01 22:26:26 +0000 |
commit | b5b5057a709a6dc8e99c6e57bdea89c2b53dd4de (patch) | |
tree | 654e8ad913851caca52bddb6bc64640e82cbc1d0 /test | |
parent | 5e721d768254a920b78b9129d79a84c0163cb3f4 (diff) | |
download | external_llvm-b5b5057a709a6dc8e99c6e57bdea89c2b53dd4de.zip external_llvm-b5b5057a709a6dc8e99c6e57bdea89c2b53dd4de.tar.gz external_llvm-b5b5057a709a6dc8e99c6e57bdea89c2b53dd4de.tar.bz2 |
ARM function alignments were off by a power of two. svn 83242 changed
getFunctionAlignment and the corresponding use of that value in the ARM
asm printer, but now we're using the standard asm printer. The result of
this was that function alignments were dropped completely for Thumb functions.
Radar 8143571.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Thumb/2010-07-01-FuncAlign.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb/2010-07-01-FuncAlign.ll b/test/CodeGen/Thumb/2010-07-01-FuncAlign.ll new file mode 100644 index 0000000..8e09441 --- /dev/null +++ b/test/CodeGen/Thumb/2010-07-01-FuncAlign.ll @@ -0,0 +1,6 @@ +; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s +; Radar 8143571: Function alignments were off by a power of two. +; CHECK: .align 1 +define void @test() { + ret void +} |