LegalizerHelper::reduceLoadStoreWidth uses little endian order when splitting type. This patch adds big endian support.
Details
Diff Detail
Event Timeline
llvm/test/CodeGen/M68k/GlobalISel/legalizer_load_store.ll | ||
---|---|---|
1 ↗ | (On Diff #399850) | Generally legalizer tests are MIR->MIR. I think it would be best to have some end to end IR tests, in addition to MIR->MIR tests that only run the legalizer |
llvm/test/CodeGen/M68k/GlobalISel/legalizer_load_store.ll | ||
---|---|---|
1 ↗ | (On Diff #399850) | Do you mind explaining the meaning of "end to end IR tests" ? |
llvm/test/CodeGen/M68k/GlobalISel/legalizer_load_store.ll | ||
---|---|---|
1 ↗ | (On Diff #399850) | Guess: If you mean IR->assembly test, that needs instruction selector & regbank selector support, which I haven't started to do. |
llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir | ||
---|---|---|
98 | pre-commit + rebase this so that the patch some the codegen diff? |
llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir | ||
---|---|---|
98 | Thanks for commenting ! Although I did some search on google and mailing list, I still don't know what "pre-commit" should do. I tried to commit this patch on the main branch and no error message happened. Do you mean "git clang-format" or other stuff ? Apologize for my stupidity. |
llvm/test/CodeGen/M68k/GlobalISel/legalize-load-store.mir | ||
---|---|---|
98 | I guess what you mean is to separate test file into a "pre-commit test" patch ? |
pre-commit + rebase this so that the patch some the codegen diff?