diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-06-19 01:01:32 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-06-19 01:01:32 +0000 |
commit | 0110ac66ebd1e59e6ac163e13670f36d091084f6 (patch) | |
tree | c89c80f7118f6078385c7e2f0f5af8fa613fa7fe /test/CodeGen/Thumb | |
parent | a938cfb13ae2c6f0219eebb891e96de4ac8bb132 (diff) | |
download | external_llvm-0110ac66ebd1e59e6ac163e13670f36d091084f6.zip external_llvm-0110ac66ebd1e59e6ac163e13670f36d091084f6.tar.gz external_llvm-0110ac66ebd1e59e6ac163e13670f36d091084f6.tar.bz2 |
Disable sibcall optimization for Thumb1 for now since Thumb1RegisterInfo::emitEpilogue is not expecting them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb')
-rw-r--r-- | test/CodeGen/Thumb/2010-06-18-SibCallCrash.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb/2010-06-18-SibCallCrash.ll b/test/CodeGen/Thumb/2010-06-18-SibCallCrash.ll new file mode 100644 index 0000000..ad8b064 --- /dev/null +++ b/test/CodeGen/Thumb/2010-06-18-SibCallCrash.ll @@ -0,0 +1,8 @@ +; RUN: llc -march=thumb < %s +; rdar://8104457 + +define arm_apcscc void @t(i32* %m) nounwind { +entry: + tail call arm_apcscc void undef(i32* %m, i16 zeroext undef) nounwind + ret void +} |