diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-07-25 00:34:29 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-07-25 00:34:29 +0000 |
commit | f245ae5a4a78d5a02b3b9e2dae819077a56d81e7 (patch) | |
tree | 517ee29a63e853faa1a41509e465915e597ad8fc /test/DebugInfo | |
parent | 9b344d920f6b3496885094bd2f364453cb8d968f (diff) | |
download | external_llvm-f245ae5a4a78d5a02b3b9e2dae819077a56d81e7.zip external_llvm-f245ae5a4a78d5a02b3b9e2dae819077a56d81e7.tar.gz external_llvm-f245ae5a4a78d5a02b3b9e2dae819077a56d81e7.tar.bz2 |
Replace the "NoFramePointerElimNonLeaf" target option with a function attribute.
There's no need to specify a flag to omit frame pointer elimination on non-leaf
nodes...(Honestly, I can't parse that option out.) Use the function attribute
stuff instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/2010-05-03-DisableFramePtr.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/2010-05-03-DisableFramePtr.ll b/test/DebugInfo/2010-05-03-DisableFramePtr.ll index ec734f6..7e07067 100644 --- a/test/DebugInfo/2010-05-03-DisableFramePtr.ll +++ b/test/DebugInfo/2010-05-03-DisableFramePtr.ll @@ -1,8 +1,8 @@ -; RUN: llc -o /dev/null -disable-non-leaf-fp-elim < %s +; RUN: llc -o /dev/null < %s ; Radar 7937664 %struct.AppleEvent = type opaque -define void @DisposeDMNotificationUPP(void (%struct.AppleEvent*)* %userUPP) nounwind ssp { +define void @DisposeDMNotificationUPP(void (%struct.AppleEvent*)* %userUPP) "no-frame-pointer-elim-non-leaf"="true" nounwind ssp { entry: %userUPP_addr = alloca void (%struct.AppleEvent*)* ; <void (%struct.AppleEvent*)**> [#uses=1] %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] |