[llvm-commits] [llvm] r63772 - /llvm/trunk/test/Assembler/2007-04-15-BadIntrinsic.ll

Duncan Sands baldrick at free.fr
Fri Feb 6 08:32:41 PST 2009


> >> It will not match as an intrinsic in CodeGen and turn into a libcall.
> >> An assert could presumably be added at that point.
> >
> > actually, shouldn't it be possible to catch it in the verifier?
> > Presumably getIntrinsicID only returns a non-zero value if the
> > call is to an intrinsic that is known by some part of the system...
> 
> The problem is that your target may not be linked into (e.g.) "opt".

That means that the intrinsic won't get the right attributes etc.
I guess that's just life if opt doesn't know about your target?

Ciao,

Duncan.



More information about the llvm-commits mailing list