diff options
| author | Tim Northover <tnorthover@apple.com> | 2016-12-07 21:05:38 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2016-12-07 21:05:38 +0000 |
| commit | 05cc4859ad289948175382daae0f3ef8c214a8f5 (patch) | |
| tree | ec252f4fba40a3c82067d11f935e84362315d197 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp | |
| parent | 64a055549a976c5c30c57cbb7ff696e809c79a2e (diff) | |
| download | bcm5719-llvm-05cc4859ad289948175382daae0f3ef8c214a8f5.tar.gz bcm5719-llvm-05cc4859ad289948175382daae0f3ef8c214a8f5.zip | |
GlobalISel: simplify MachineIRBuilder interface.
MachineIRBuilder had weird before/after and beginning/end flags for the insert
point. Unfortunately the non-default means that instructions will be inserted
in reverse order which is almost never what anyone wants.
Really, I think we just want (like IRBuilder has) the ability to insert at any
C++ iterator-style point (i.e. before any instruction or before MBB.end()). So
this fixes MIRBuilders to behave like IRBuilders in this respect.
llvm-svn: 288980
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions

