This is an archive of the discontinued LLVM Phabricator instance.

Revert "[ARM] Restructure MOVi32imm expansion to not do pointless instructions"
ClosedPublic

Authored by Caslyn on Jul 12 2023, 2:37 PM.

Diff Detail

Event Timeline

Caslyn created this revision.Jul 12 2023, 2:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 2:37 PM
Caslyn requested review of this revision.Jul 12 2023, 2:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 2:37 PM
phosek accepted this revision.Jul 12 2023, 2:42 PM
phosek added a subscriber: phosek.

LGTM

This revision is now accepted and ready to land.Jul 12 2023, 2:42 PM

I think 210f61cbddeddac47b347db072d674ee142520f6 needs to be reverted as well, otherwise llvm/test/CodeGen/ARM/copy-by-struct-i32.ll fails for me:

llvm/test/CodeGen/ARM/copy-by-struct-i32.ll:43:18: error: ASSEMBLY-NEXT: is not on the line after the previous match
; ASSEMBLY-NEXT: .LBB0_1: @ %entry
                 ^
<stdin>:55:1: note: 'next' match was here
.LBB0_1: @ %entry
^
<stdin>:53:14: note: previous match ended here
 movw r4, #72
             ^
<stdin>:54:1: note: non-matching line after previous match is here
 movt r4, #0
^
This revision was landed with ongoing or failed builds.Jul 12 2023, 4:33 PM
This revision was automatically updated to reflect the committed changes.