[LLVMdev] Helping the optimizer along (__assume)

Chris Lattner clattner at apple.com
Thu Oct 23 21:12:03 PDT 2008


On Oct 23, 2008, at 12:16 PM, Daniel Berlin wrote:

> Doesn't llvm-gcc support GCC's builtin_expect?

Yes, it supports it.

> Or does it transform it into nothing?

Yep, that's how. :) As Paul said, this is related but different than  
builtin_expect though.

-Chris




More information about the llvm-dev mailing list