commit | 2b0e8990ab33ec2dad21286d3ce01dbb4bbe63c1 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Tue Dec 18 09:59:50 2007 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Tue Dec 18 09:59:50 2007 +0000 |
tree | bb69bcade78ca0c84fd5e621d5d07feeeb094dc0 | |
parent | f311f53a0fbe6063d32ad0767e005c2727feb365 [diff] [blame] |
Rename isNoReturn to doesNotReturn, and isNoUnwind to doesNotThrow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45160 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index acda89b..d64afbb 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -8039,7 +8039,7 @@ } } - if (isa<InlineAsm>(Callee) && !CS.isNoUnwind()) { + if (isa<InlineAsm>(Callee) && !CS.paramHasAttr(0, ParamAttr::NoUnwind)) { // Inline asm calls cannot throw - mark them 'nounwind'. const ParamAttrsList *PAL = CS.getParamAttrs(); uint16_t RAttributes = PAL ? PAL->getParamAttrs(0) : 0;