summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-05-12 22:01:27 +0000
committerReid Kleckner <reid@kleckner.net>2014-05-12 22:01:27 +0000
commit17335ce80f1356b67c556285ed6359fdd3670817 (patch)
treee676289b1f4576c5ef2261961d188d7ccea799e9 /lib/Bitcode/Reader/BitcodeReader.cpp
parent03e19bb235ee4e7840ae3905fc38fd92dda05bd2 (diff)
downloadllvm-17335ce80f1356b67c556285ed6359fdd3670817.tar.gz
llvm-17335ce80f1356b67c556285ed6359fdd3670817.tar.bz2
llvm-17335ce80f1356b67c556285ed6359fdd3670817.tar.xz
Try to fix an SDAG dependence issue with sret
r208453 added support for having sret on the second parameter. In that change, the code for copying sret into a virtual register was hoisted into the loop that lowers formal parameters. This caused a "Wrong topological sorting" assertion failure during scheduling when a parameter is passed in memory. This change undoes that by creating a second loop that deals with sret. I'm worried that this fix is incomplete. I don't fully understand the dependence issues. However, with this change we produce the same DAGs we used to produce, so if they are broken, they are just as broken as they have always been. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions