Displaying 1 result from an estimated 1 matches for "computeminimalbitwidths".
2017 May 18
2
Question about demanded bits analysis
Hello All,
I am trying to understand the demanded-bits pass. The example in the source code (below) seems quite explicit. In the example, only 16 bits from a 32 bit variable in IR are demanded and therefore the variable is truncated to a 16 bit variable.
%1 = add i32 %x, %y
%2 = trunc i32 %1 to i16
However I was wondering if for example, the addition demanded, say 18 bits, would this pass