[PATCH] Improve performance of vector code on A15
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Mar 11 12:54:33 PDT 2013
On Mar 11, 2013, at 10:50 AM, Silviu Baranga <Silviu.Baranga at arm.com> wrote:
> Thanks for the review. I'm attaching a new version of the patch that
> should have all the comments addressed (unless I've missed
> something).
+ if (InsertBefore == MBB.end()) {
+ BuildMI(&MBB,
+ DL,
+ TII->get(TargetOpcode::COPY), Out)
+ .addReg(DReg, 0, Lane);
+ return Out;
+ }
+
+ BuildMI(MBB,
+ InsertBefore,
+ DL,
+ TII->get(TargetOpcode::COPY), Out)
+ .addReg(DReg, 0, Lane);
This distinction shouldn't be necessary. Did you have problems passing end() to BuildMI?
/jakob
More information about the llvm-commits
mailing list