[llvm-commits] Built-in "expect" support

Bob Wilson bob.wilson at apple.com
Wed Jul 6 09:06:01 PDT 2011


On Jul 5, 2011, at 4:12 PM, Jakub Staszak wrote:
>> The "MetadataExpect" and "md-expect" names are not very descriptive of what the transform pass does, which is to convert expect intrinsics to block_weights metadata.  I'll see if I can think of better alternatives -- let me know if you have ideas.
>> 
> LowerExpectIntrinsics?
> ExpectToBlockWeights?
> {Lower/Transform}ExpectsToBlockWeights?

LowerExpectIntrinsics sounds good.  Please go ahead and commit.



More information about the llvm-commits mailing list