llvm-upgrade can fail on names with unspecified or defaulted type #1454
Labels
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
llvm-tools
All llvm tools that do not have corresponding tag
Extended Description
Unfortunately, the current algorithm in llvm-upgrade depends on each value being
preceded by its type. However, with signedness elimination, the following is
quite possible:
llvm-upgrade current translates this to:
%tmp7360.u in the sub instruction should be %tmp7360.s, the intended value.
However, since the first argument to sub is ubyte, it gets the .u suffix.
llvm-as rightly declares that %tmp7360.u is undefined in the i8 type plane.
The text was updated successfully, but these errors were encountered: