> Ah, another minor simplification:
>
> +/// isFilterOrSelector - Return true if this instruction is a call
> to the
> +/// eh.filter or the eh.selector intrinsic.
> +static bool isFilterOrSelector(Instruction *I) {
> if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
> return II->getIntrinsicID() == Intrinsic::eh_selector
> || II->getIntrinsicID() == Intrinsic::eh_filter;
> return false;
> }
That's pretty slick! Applied with this change.
Thanks for reviewing,
Duncan.
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits