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)
commit0186347c4c0efe83ee1683a2cb437e014ec55b68
tree448ec1552cd70b533d3c46c4bc837b0c4364d302
parente441264019180f9a6a58d732b09cfc96207b42aa
Fix a bug in mayHaveSideEffects. Functions that do not return are now considered as instructions with side effects.

rdar://13227456

llvm-svn: 175553
llvm/include/llvm/IR/Instruction.h
llvm/lib/IR/Instruction.cpp
llvm/test/Transforms/FunctionAttrs/noreturn.ll [new file with mode: 0644]