[PATCH] Avoid FP conversions when calling bitcasted / alias functions

Eli Friedman eli.friedman at gmail.com
Tue Jul 30 12:14:27 PDT 2013



================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:1176
@@ -1175,1 +1175,3 @@
+          Instruction::CastOps opcode
+            = CastInst::getCastOpcode(*AI, false, PTy, false);
           Args.push_back(Builder->CreateCast(opcode, *AI, PTy));
----------------
Did you mean to change this to build a bitcast?


http://llvm-reviews.chandlerc.com/D1058



More information about the llvm-commits mailing list