================
@@ -8195,7 +8196,6 @@ static bool canCreateUndefOrPoison(const Operator *Op,
UndefPoisonKind Kind,
[[fallthrough]];
case Instruction::CallBr:
case Instruction::Invoke: {
- const auto *CB = cast<CallBase>(Op);
return !CB->hasRetAttr(Attribute::NoUndef) &&
----------------
nikic wrote:
Should reuse CBHasNoUndef here?
https://github.com/llvm/llvm-project/pull/239912
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits