[llvm] r273608 - InstCombine rule to fold trunc when value available

Anna Thomas via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 12:59:24 PDT 2016


Thanks Reid, Mike. 

I missed out the need for the bit cast when the trunc result size (in your example: i32) is just a bit cast of the load( float type in example).



> On Jun 24, 2016, at 2:50 PM, Reid Kleckner <rnk at google.com> wrote:
> 
> Reverted in r273703



More information about the llvm-commits mailing list