diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-08-01 21:42:05 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-08-01 21:42:05 +0000 |
| commit | a5c536e1ee25daef4567e1e2a24b74f373b82011 (patch) | |
| tree | ddcd932266d4b1d7a4e1f3199352e91454d617af /llvm/test/Transforms | |
| parent | d8f4950862aa2efcf0847f7185cdc2af436ff6f8 (diff) | |
| download | bcm5719-llvm-a5c536e1ee25daef4567e1e2a24b74f373b82011.tar.gz bcm5719-llvm-a5c536e1ee25daef4567e1e2a24b74f373b82011.zip | |
Use function attributes to indicate that we don't want to realign the stack.
Function attributes are the future! So just query whether we want to realign the
stack directly from the function instead of through a random target options
structure.
llvm-svn: 187618
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/LoopVectorize/dbg.value.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/dbg.value.ll b/llvm/test/Transforms/LoopVectorize/dbg.value.ll index 9dbabf0dc2d..b69e72fe20c 100644 --- a/llvm/test/Transforms/LoopVectorize/dbg.value.ll +++ b/llvm/test/Transforms/LoopVectorize/dbg.value.ll @@ -38,7 +38,7 @@ declare void @llvm.dbg.declare(metadata, metadata) #1 declare void @llvm.dbg.value(metadata, i64, metadata) #1 -attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } attributes #1 = { nounwind readnone } !llvm.dbg.cu = !{!0} diff --git a/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll b/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll index 398b3532ea3..1ef3a7ce59b 100644 --- a/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll +++ b/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll @@ -41,8 +41,8 @@ end: } declare i32 @Trace(...) #1 -attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" } -attributes #1 = { "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #1 = { "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } attributes #2 = { nounwind } !0 = metadata !{i32 1039} |

