You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example will produce a phi node for 'a' even thought it is unneeded. This causes problems when the types of 'a' in each branch are different
def foo(pred : Bit, x : BitVector[16]):
if pred:
a = Signed[16](x)
b = a > 0
else:
a = Unsigned[16](x)
b = a > 0
#code that never uses 'a' again
The text was updated successfully, but these errors were encountered:
The following example will produce a phi node for 'a' even thought it is unneeded. This causes problems when the types of 'a' in each branch are different
The text was updated successfully, but these errors were encountered: