[llvm-commits] [llvm] r127116 - in /llvm/trunk: include/llvm/Constants.h lib/Transforms/InstCombine/InstCombineCompares.cpp lib/VMCore/Constants.cpp test/Transforms/InstCombine/icmp.ll

Duncan Sands baldrick at free.fr
Sun Mar 6 05:53:23 PST 2011


Hi Nick,

> ConstantInt has some getters which return ConstantInt's or ConstantVector's of
> the value splatted into every element. Extend this to getTrue and getFalse which
> by providing new overloads that take Types that are either i1 or<N x i1>. Use
> it in InstCombine to add vector support to some code, fixing PR8469!

the code generators do not support vectors of i1, so if your patch is creating
them (and they didn't exist already) then that part needs to be disabled.

Ciao, Duncan.



More information about the llvm-commits mailing list