1
Fork 0

Replace ZExt and SExt flags with ArgExtension enum

Both flags are mutually exclusive
This commit is contained in:
bjorn3 2020-11-14 12:27:57 +01:00
parent 539402cb0b
commit 967a228208
5 changed files with 53 additions and 9 deletions

View file

@ -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;
}