diff options
author | Tim Northover <tnorthover@apple.com> | 2016-12-05 22:40:13 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-12-05 22:40:13 +0000 |
commit | b566848d68b43e94948b79dad4a338770da205c9 (patch) | |
tree | 0dfac9f1841321743d3b43dc65cd34723d94d42d /llvm/lib/Transforms | |
parent | d207c378064f249a6a4f71e85d6968035b0780c9 (diff) | |
download | bcm5719-llvm-b566848d68b43e94948b79dad4a338770da205c9.tar.gz bcm5719-llvm-b566848d68b43e94948b79dad4a338770da205c9.zip |
GlobalISel: place constants correctly in the entry block.
When the entry block was empty after arg lowering, we were always placing
constants at the end. This is probably hamrless while translating the same
block, but horribly wrong once its terminator has been translated. So switch to
inserting at the beginning.
llvm-svn: 288720
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions