diff options
author | Owen Anderson <resistor@mac.com> | 2010-05-01 08:34:28 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-05-01 08:34:28 +0000 |
commit | 550986ea902ab5b433ad4dc6440befc1c2829bf8 (patch) | |
tree | 9bdc32fa7eee84317f2e9e6e9a4be601d074960f /llvm/test/Transforms/Inline/delete-call.ll | |
parent | 532112b98a71e7acc032015addc026c7083fe0ac (diff) | |
download | bcm5719-llvm-550986ea902ab5b433ad4dc6440befc1c2829bf8.tar.gz bcm5719-llvm-550986ea902ab5b433ad4dc6440befc1c2829bf8.zip |
Disable the call-deletion transformation introduced in r86975. Without
halting analysis, it is illegal to delete a call to a read-only function.
The correct solution is almost certainly to add a "must halt" attribute and
only allow deletions in its presence.
XFAIL the relevant testcase for now.
llvm-svn: 102831
Diffstat (limited to 'llvm/test/Transforms/Inline/delete-call.ll')
-rw-r--r-- | llvm/test/Transforms/Inline/delete-call.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/delete-call.ll b/llvm/test/Transforms/Inline/delete-call.ll index 3505608b828..7775aa383fc 100644 --- a/llvm/test/Transforms/Inline/delete-call.ll +++ b/llvm/test/Transforms/Inline/delete-call.ll @@ -1,6 +1,6 @@ ; RUN: opt %s -S -inline -functionattrs -stats |& grep {Number of call sites deleted, not inlined} ; RUN: opt %s -S -inline -stats |& grep {Number of functions inlined} - +; XFAIL: * target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32" target triple = "i386-apple-darwin9.8" |