diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-30 22:29:54 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-30 22:29:54 +0000 |
commit | 89fc9e8f5eb74d5607bed7759628775b564a5383 (patch) | |
tree | fb908ff4a7e98e22ebbd3405c092c5b8fec61547 /test/CodeGen/PowerPC | |
parent | ec7e4fff960f166be8a8a39b7ba8cc7baac6b02c (diff) | |
download | external_llvm-89fc9e8f5eb74d5607bed7759628775b564a5383.zip external_llvm-89fc9e8f5eb74d5607bed7759628775b564a5383.tar.gz external_llvm-89fc9e8f5eb74d5607bed7759628775b564a5383.tar.bz2 |
Enable CFI on OS X.
Currently the output should be almost identical to the one produced by CodeGen
to make the transition easier.
The only two differences I know of are:
* Some files get an extra advance loc of size 0. This will be fixed when
relaxations are enabled.
* The optimization of declaring an EH symbol as an external variable is not
implemented. This is a subset of adding the nounwind attribute, so we if really
this at -O0 we should probably do it at the IL level.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/mulhs.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/mulhs.ll b/test/CodeGen/PowerPC/mulhs.ll index 9ab8d99..5b02e18 100644 --- a/test/CodeGen/PowerPC/mulhs.ll +++ b/test/CodeGen/PowerPC/mulhs.ll @@ -5,7 +5,7 @@ ; RUN: not grep add %t ; RUN: grep mulhw %t | count 1 -define i32 @mulhs(i32 %a, i32 %b) { +define i32 @mulhs(i32 %a, i32 %b) nounwind { entry: %tmp.1 = sext i32 %a to i64 ; <i64> [#uses=1] %tmp.3 = sext i32 %b to i64 ; <i64> [#uses=1] |