[LLVMdev] [RFC] Extend LLVM IR to express "fast-math" at a per-instruction level

Joe Abbey jabbey at arxan.com
Wed Nov 14 17:28:05 PST 2012


>> Since Instruction::FastMathFlags is a class, seems like the constructor could take in Record[OpNum] , and assign the flags.
>> 
> 
> I like the intent, but unfortunately Record[OpNum] is just a uint64_t. The agreement of which bit means what is in LLVMBitCodes.h, and I'd prefer not having an implicit handshake between the bitcode and the rest of LLVM. However, I'll try to find ways to factor more convenience into shared code.
> 


Works for me.

Joe



More information about the llvm-dev mailing list