Disable the call-deletion transformation introduced in r86975. Without
authorOwen Anderson <resistor@mac.com>
Sat, 1 May 2010 08:34:28 +0000 (08:34 +0000)
committerOwen Anderson <resistor@mac.com>
Sat, 1 May 2010 08:34:28 +0000 (08:34 +0000)
commit1b4a38646f6bbeb32a125a1f2316a7b2d27916d7
treeee51964e0c0be1588be20f38b676b63398d5adf9
parentbccb41afc8542f01358341451cac85a7115d8763
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102831 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/delete-call.ll