Skip to content

Commit bcf047a

Browse files
committed
[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 #87646
1 parent 9d8ccbc commit bcf047a

File tree

2 files changed

+1055
-0
lines changed

2 files changed

+1055
-0
lines changed

0 commit comments

Comments
 (0)