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 | 440e9d81bf02746146c3fc817d87c3b8ef1416b2 (patch) | |
| tree | 25d36dd55f9f254d5419d1511fb2adb6f7e616c1 /llvm/test/DebugInfo/2010-05-03-DisableFramePtr.ll | |
| parent | a9cc8c0385736c1e97dd672516bcf26f61cf8d97 (diff) | |
| download | bcm5719-llvm-440e9d81bf02746146c3fc817d87c3b8ef1416b2.tar.gz bcm5719-llvm-440e9d81bf02746146c3fc817d87c3b8ef1416b2.zip | |
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.
llvm-svn: 187093
Diffstat (limited to 'llvm/test/DebugInfo/2010-05-03-DisableFramePtr.ll')
| -rw-r--r-- | llvm/test/DebugInfo/2010-05-03-DisableFramePtr.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/2010-05-03-DisableFramePtr.ll b/llvm/test/DebugInfo/2010-05-03-DisableFramePtr.ll index ec734f65cc3..7e07067f42f 100644 --- a/llvm/test/DebugInfo/2010-05-03-DisableFramePtr.ll +++ b/llvm/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] |

