[cfe-users] Optimisation flags

2016-09-04 Thread Alex Biddulph via cfe-users
I have been using GCC for my project for a while now and I am now in the process to migrating my project to use Clang/LLVM (ELLCC to be specific). To optimise the performance of the project on the targte system I specify a number of flags to GCC. The flags are just enabling the use of SSE2 or

[cfe-users] LLVM 3.8.0 - Adding new instruction to a basic block

2016-09-04 Thread Simona Simona via cfe-users
Hello, I'm trying to add a new instruction after a given instruction in a basic block. Until LLVM 3.7, I was using the following code: BB->getInstList().insertAfter(I, new_inst); [where both I and new_inst are Instruction*] In LLVM 3.8 however, the SymbolTableList was created as a wrapper