Replace ZExt and SExt flags with ArgExtension enum
Both flags are mutually exclusive
This commit is contained in:
parent
539402cb0b
commit
967a228208
5 changed files with 53 additions and 9 deletions
|
@ -2619,7 +2619,7 @@ where
|
|||
is_return: bool| {
|
||||
// Booleans are always an i1 that needs to be zero-extended.
|
||||
if scalar.is_bool() {
|
||||
attrs.set(ArgAttribute::ZExt);
|
||||
attrs.zext();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue