diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-04-07 21:36:32 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-04-07 21:36:32 +0000 |
| commit | 492db487335eb7b7a73c8e0434210e87263b9dbd (patch) | |
| tree | e29a885168791b9528a755d74dd8ef89c9a39eaa /llvm/lib | |
| parent | 552629eaf4504921e4a8bfdcda227da46b2dafea (diff) | |
| download | bcm5719-llvm-492db487335eb7b7a73c8e0434210e87263b9dbd.tar.gz bcm5719-llvm-492db487335eb7b7a73c8e0434210e87263b9dbd.zip | |
[ConstantFolding] Use Intrinsic::not_intrinsic instead of 0 for readability. NFCI
llvm-svn: 299801
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/ConstantFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp index c3ce648712b..14176dac210 100644 --- a/llvm/lib/Analysis/ConstantFolding.cpp +++ b/llvm/lib/Analysis/ConstantFolding.cpp @@ -1401,7 +1401,7 @@ bool llvm::canConstantFoldCallTo(const Function *F) { return true; default: return false; - case 0: break; + case Intrinsic::not_intrinsic: break; } if (!F->hasName()) |

