[LLVMdev] opt and bugs

John Regehr regehr at cs.utah.edu
Thu Nov 19 14:03:26 PST 2009


Thanks Duncan and Edwin-- looking at the passes used everyday sounds like 
the right approach.

> Also I think you should also try to test LLVM IR features that are less
> often used:
> byval, weak linkage, ssp, structs with unusual layout/alignment, vector
> operations,
> multiple return values, indirectbr, atomic ops, lifetime/invariant
> annotations, etc.

Well, we are actually testing C compilers, not specifically LLVM, so we're 
not going to generate anything that clang or llvm-gcc doesn't use already.

We do generate packed structs, bitfields, etc. in an attempt to stress 
some of these things.

John Regehr



More information about the llvm-dev mailing list