Created
August 28, 2020 12:59
-
-
Save jmorse/3d9972e91cdf94b093f14501a4d14829 to your computer and use it in GitHub Desktop.
MIR before phi node elimination
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body: | | |
bb.0.entry: | |
successors: %bb.1(0x80000000) | |
bb.1.for.body.i.i.i.i: | |
successors: %bb.3(0x30000000), %bb.2(0x50000000) | |
%0:gr64 = PHI undef %5:gr64, %bb.0, %3, %bb.3 | |
%1:gr64 = MOV64rm %0, 1, $noreg, 0, $noreg :: (load 8 from %ir.__first.addr.04.i.i.i.i1) | |
%2:gr64 = ADD64ri8 killed %0, 16, implicit-def dead $eflags | |
CMP64rr %1, %2, implicit-def $eflags | |
JCC_1 %bb.3, 4, implicit killed $eflags, debug-location !3792 | |
JMP_1 %bb.2, debug-location !3792 | |
bb.2.if.then.i.i.i.i.i.i.i: | |
successors: %bb.3(0x80000000) | |
DBG_VALUE %0, $noreg, !3850, !DIExpression(), debug-location !3902 | |
ADJCALLSTACKDOWN64 0, 0, 0, implicit-def dead $rsp, implicit-def dead $eflags, implicit-def dead $ssp, implicit $rsp, implicit $ssp, debug-location !3905 | |
$rdi = COPY killed %1, debug-location !3905 | |
CALL64pcrel32 @_ZdlPv, csr_64, implicit $rsp, implicit $ssp, implicit killed $rdi, implicit-def $rsp, implicit-def $ssp, debug-location !3905 | |
ADJCALLSTACKUP64 0, 0, implicit-def dead $rsp, implicit-def dead $eflags, implicit-def dead $ssp, implicit $rsp, implicit $ssp, debug-location !3905 | |
bb.3._ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i: | |
successors: %bb.1(0x80000000) | |
%3:gr64 = ADD64ri8 killed %2, 16, implicit-def dead $eflags | |
JMP_1 %bb.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment