[all-commits] [llvm/llvm-project] bcf047: [ARM][PowerPC] Add regression tests for narrowing ...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Fri Apr 12 07:34:22 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bcf047a4ed9afc49f851156698a6d277ab2c00ea
https://github.com/llvm/llvm-project/commit/bcf047a4ed9afc49f851156698a6d277ab2c00ea
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
A llvm/test/CodeGen/ARM/simplifysetcc_narrow_load.ll
A llvm/test/CodeGen/PowerPC/simplifysetcc_narrow_load.ll
Log Message:
-----------
[ARM][PowerPC] Add regression tests for narrowing load in TargetLowering::SimplifySetCC
These test cases show some miscomplies for big-endian when dealing
with non byte-sized loads. One part of the problem is that LLVM IR
isn't really telling where the padding goes for non byte-sized
loads/stores. So currently TargetLowering::SimplifySetCC can't assume
anything about it. But the implementation also do not consider that
the TypeStoreSize could be larger than the TypeSize, resulting in
the offset calculation being wrong for big-endian.
Pre-commit for https://github.com/llvm/llvm-project/pull/87646
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list