summaryrefslogtreecommitdiff
path: root/src/ir/load-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/load-utils.h')
-rw-r--r--src/ir/load-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/load-utils.h b/src/ir/load-utils.h
index 037f5297b..a3bf79c60 100644
--- a/src/ir/load-utils.h
+++ b/src/ir/load-utils.h
@@ -31,7 +31,7 @@ inline bool isSignRelevant(Load* load) {
if (load->type == unreachable) {
return false;
}
- return !type.isFloat() && load->bytes < getTypeSize(type);
+ return !type.isFloat() && load->bytes < type.getByteSize();
}
// check if a load can be signed (which some opts want to do)