SimplifyCFG: Don't duplicate calls to functions marked noduplicate v2
authorTom Stellard <thomas.stellard@amd.com>
Mon, 21 Oct 2013 20:07:30 +0000 (20:07 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 21 Oct 2013 20:07:30 +0000 (20:07 +0000)
commitf2089e1dd810236f716c1a45fa1e561dce5074e8
tree371a4c72e429c50d8cbb323d5b145b74cfe060f9
parente161dc28a8a58431e5e1df98834aaee72baada85
SimplifyCFG: Don't duplicate calls to functions marked noduplicate v2

v2:
  - Use CI->cannotDuplicate()

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