-
Notifications
You must be signed in to change notification settings - Fork 14
Another MBB reordering bug #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
…e same spot as the original MBB (avr-rust/rust-legacy-fork#62)
This seems fixable with the exact same change as I did on the |
While the IR from my original comment works with this change, it now breaks
|
To reproduce with gergoerdi/llvm-avr@f7931de:
but I have a movie to catch RN :) |
…e same spot as the original MBB (avr-rust/rust-legacy-fork#62)
Hah, commit simply had a bug where I forgot to remove the old |
Looks like the fix is in avr-rust/llvm#2 |
…e same spot as the original MBB (avr-rust/rust-legacy-fork#62)
…e same spot as the original MBB (avr-rust/rust-legacy-fork#62)
…e same spot as the original MBB (avr-rust/rust-legacy-fork#62)
My |
Committed in r314180. |
…e same spot as the original MBB Discovered in avr-rust/rust-legacy-fork#62 avr-rust/rust-legacy-fork#62 Patch by Gergo Erdi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314180 91177308-0d34-0410-b5e6-96231b3b80d8
------------------------------------------------------------------------ r314180 | dylanmckay | 2017-09-26 13:51:03 +1300 (Tue, 26 Sep 2017) | 7 lines [AVR] When lowering shifts into loops, put newly generated MBBs in the same spot as the original MBB Discovered in avr-rust/rust-legacy-fork#62 avr-rust/rust-legacy-fork#62 Patch by Gergo Erdi. ------------------------------------------------------------------------ llvm-svn=314383
------------------------------------------------------------------------ r314180 | dylanmckay | 2017-09-26 13:51:03 +1300 (Tue, 26 Sep 2017) | 7 lines [AVR] When lowering shifts into loops, put newly generated MBBs in the same spot as the original MBB Discovered in avr-rust/rust-legacy-fork#62 avr-rust/rust-legacy-fork#62 Patch by Gergo Erdi. ------------------------------------------------------------------------ llvm-svn=314383
------------------------------------------------------------------------ r314180 | dylanmckay | 2017-09-26 13:51:03 +1300 (Tue, 26 Sep 2017) | 7 lines [AVR] When lowering shifts into loops, put newly generated MBBs in the same spot as the original MBB Discovered in avr-rust/rust-legacy-fork#62 avr-rust/rust-legacy-fork#62 Patch by Gergo Erdi. ------------------------------------------------------------------------ llvm-svn: 314383
------------------------------------------------------------------------ r314180 | dylanmckay | 2017-09-26 13:51:03 +1300 (Tue, 26 Sep 2017) | 7 lines [AVR] When lowering shifts into loops, put newly generated MBBs in the same spot as the original MBB Discovered in avr-rust/rust-legacy-fork#62 avr-rust/rust-legacy-fork#62 Patch by Gergo Erdi. ------------------------------------------------------------------------ llvm-svn: 314383
This one seems similar to #49. I don't have a shrunk example yet.
LLVM IR:
In the generated assembly,
main
starts with%start
as expected, but then falls through to%"_ZN75_$LT$chip8_avr..Board$u20$as$u20$chip8_engine..peripherals..Peripherals$GT$12scan_key_row17haa3ed42a3d3a5068E.exit.i"
instead of%bb2.i
:The text was updated successfully, but these errors were encountered: