The sext_inreg_of_load combine did not have the isLegalOrBeforeLegalizer check,
leading to the generation of potentially illegal G_SEXTLOADs when run after legalization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
1,230 ms | x64 debian > libomp.api::omp_get_wtime.c |
Event Timeline
Comment Actions
Looks reasonable to me.
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
727–730 | Since this code is now repeated several times in this file, I wonder if MemDesc should be constructible from an MMO, so you could write: LegalityQuery::MemDesc MMDesc(MMO); MMDesc.MemoryTy = /* just override the size */; |
Since this code is now repeated several times in this file, I wonder if MemDesc should be constructible from an MMO, so you could write: