[CodeGeneration] Do not set insert position redundantly
authorTobias Grosser <tobias@grosser.es>
Mon, 8 Aug 2016 15:25:50 +0000 (15:25 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 8 Aug 2016 15:25:50 +0000 (15:25 +0000)
commit219feac45643d92784186bcee627d940775b596b
tree3d2b7b39c50caa21f5e127bc66e36232f976c879
parent000db70754841d2e86b7a72029f21e3e2fbdc981
[CodeGeneration] Do not set insert position redundantly

There is no need to reset the position of the builder, as we can just continue
to insert code at the current position of the IRBuilder, which happens to
be precisely the location we reset the builder to.

llvm-svn: 278014
polly/lib/CodeGen/CodeGeneration.cpp