OSDN Git Service

Fix a problem exposed by PR3354: simplifycfg was making a potentially
authorChris Lattner <sabre@nondot.org>
Mon, 19 Jan 2009 23:03:13 +0000 (23:03 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 Jan 2009 23:03:13 +0000 (23:03 +0000)
commit6ff645bf0fcfc0c62e9d9126e1243ec8bf10abbc
tree0f2846ec35306faec76f585da95912249551fbd9
parentc53361294957b63a9c1e405256c6f0a81db1685c
Fix a problem exposed by PR3354: simplifycfg was making a potentially
trapping instruction be executed unconditionally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62541 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/2009-01-19-UnconditionalTrappingConstantExpr.ll [new file with mode: 0644]