While searching for loads to be narrowed, equal sized loads were not added to the list, resulting in anyext loads not being converted to zext loads.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/CodeGen/X86/pr35763.ll | ||
---|---|---|
1 | Please use utils\update_llc_test_checks.py to regenerate the checks |
Comment Actions
Not simply, the original test case is a bit odd and the bug easily fails to trigger. Any particular reason for not using the original reduced test case?
Comment Actions
Just that more complex test cases can sometimes result in the underlying issue it was testing being 'hidden' by future (unrelated) patches, the simpler the test case the better likelihood that we're still testing for the same thing.
Please can you commit pr35763.ll with the trunk's current codegen and then update this patch just to show the codegen diff?
Comment Actions
Ok. I haven't got commit access right now, but I'll do it first thing tomorrow morning.
Please use utils\update_llc_test_checks.py to regenerate the checks