[LLVMdev] InstCombine "pessimizes" trunc i8 to i1?

Samuel Crow samuraileumas at yahoo.com
Fri Dec 30 09:34:16 PST 2011


> By the way i8 and trunc come from clang as clang represents a bool as i8 

> in memory. of course it would
> be a nice feature if I could tell clang to always use i1 for bool, this 
> would also remove the problem.
> Is this possible?
> 
> -Jochen


#include <stdbool.h> ?





More information about the llvm-dev mailing list