Fix a bug in mayHaveSideEffects. Functions that do not return are now considered...
authorNadav Rotem <nrotem@apple.com>
Tue, 19 Feb 2013 20:02:09 +0000 (20:02 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 19 Feb 2013 20:02:09 +0000 (20:02 +0000)
commit03544ec2a43fab162d25cf44627d1d08430bcccd
treef2fba81aeee9fe84179a7af0dbdfcfe078b2e8f8
parenta175396816a9b28835acfe2cd07250881f1fee6c
Fix a bug in mayHaveSideEffects. Functions that do not return are now considered as instructions with side effects.

rdar://13227456

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175553 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instruction.h
lib/IR/Instruction.cpp
test/Transforms/FunctionAttrs/noreturn.ll [new file with mode: 0644]