Skip to content

Commit 492db48

Browse files
committed
[ConstantFolding] Use Intrinsic::not_intrinsic instead of 0 for readability. NFCI
llvm-svn: 299801
1 parent 552629e commit 492db48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/ConstantFolding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ bool llvm::canConstantFoldCallTo(const Function *F) {
14011401
return true;
14021402
default:
14031403
return false;
1404-
case 0: break;
1404+
case Intrinsic::not_intrinsic: break;
14051405
}
14061406

14071407
if (!F->hasName())

0 commit comments

Comments
 (0)