Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

GlobalOpt breaks musttail invariant #35519

Closed Quuxplusone closed 6 years ago

Quuxplusone commented 6 years ago
Bugzilla Link PR36546
Status RESOLVED FIXED
Importance P enhancement
Reported by Fedor Indutny (fedor@indutny.com)
Reported on 2018-02-27 21:51:22 -0800
Last modified on 2018-04-02 13:07:30 -0700
Version trunk
Hardware PC All
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org, rnk@google.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

GlobalOpt changes calling convention of musttail call sites, thus violating the invariant that musttail calls require: matching signatures and cconv.

I'll probably look into it tomorrow myself.

Quuxplusone commented 6 years ago

Nvm, decided to work on it today: https://reviews.llvm.org/D43859

Quuxplusone commented 6 years ago

Fix landed in r326376.