llvm2alive: ignore
MODIFY
llvm_util/llvm2alive.cpp
llvm_util/llvm2alive.cpp
@@ -785,6 +785,7 @@ end:
case llvm::Intrinsic::bswap:
case llvm::Intrinsic::ctpop:
case llvm::Intrinsic::expect:
+ case llvm::Intrinsic::expect_with_probability:
case llvm::Intrinsic::is_constant:
case llvm::Intrinsic::fabs: {
PARSE_UNOP();
@@ -793,7 +794,9 @@ end:
case llvm::Intrinsic::bitreverse: op = UnaryOp::BitReverse; break;
case llvm::Intrinsic::bswap: op = UnaryOp::BSwap; break;
case llvm::Intrinsic::ctpop: op = UnaryOp::Ctpop; break;
- case llvm::Intrinsic::expect: op = UnaryOp::Copy; break;
+ case llvm::Intrinsic::expect:
+ case llvm::Intrinsic::expect_with_probability:
+ op = UnaryOp::Copy; break;
case llvm::Intrinsic::is_constant: op = UnaryOp::IsConstant; break;
case llvm::Intrinsic::fabs: op = UnaryOp::FAbs; break;
default: UNREACHABLE();

llvm2alive: ignore @llvm.expect.with.probability