[VirtRegMap] Fix for PR17825. Do not ignore noreturn definitions when setting
authorQuentin Colombet <qcolombet@apple.com>
Fri, 8 Nov 2013 18:14:17 +0000 (18:14 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 8 Nov 2013 18:14:17 +0000 (18:14 +0000)
commitf0c6ab6f00861fd97ad593cfc6d841082e4b4bd1
treea4b17ccfe921f6276a7c3a1b7e5952eb5fc667c7
parent071a4f1a661d5469b67a64bea90887d8fd229a8f
[VirtRegMap] Fix for PR17825. Do not ignore noreturn definitions when setting
isPhysRegUsed if the unwind information is required.
Indeed, the runtime may need a correct stack to be able to unwind the call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194271 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/ARM/noreturn.ll