[llvm-commits] [gcc-plugin] r75353 - /gcc-plugin/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Fri Jul 10 21:20:25 PDT 2009
Author: baldrick
Date: Fri Jul 10 23:20:24 2009
New Revision: 75353
URL: http://llvm.org/viewvc/llvm-project?rev=75353&view=rev
Log:
We might want to BUILT_IN_FLT_ROUNDS somehow.
Modified:
gcc-plugin/trunk/llvm-convert.cpp
Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=75353&r1=75352&r2=75353&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Fri Jul 10 23:20:24 2009
@@ -4970,13 +4970,13 @@
Result);
return true;
}
- case BUILT_IN_FLT_ROUNDS: {
- Result =
- Builder.CreateCall(Intrinsic::getDeclaration(TheModule,
- Intrinsic::flt_rounds));
- Result = BitCastToType(Result, ConvertType(TREE_TYPE(exp)));
- return true;
- }
+//TODO case BUILT_IN_FLT_ROUNDS: {
+//TODO Result =
+//TODO Builder.CreateCall(Intrinsic::getDeclaration(TheModule,
+//TODO Intrinsic::flt_rounds));
+//TODO Result = BitCastToType(Result, ConvertType(TREE_TYPE(exp)));
+//TODO return true;
+//TODO }
case BUILT_IN_TRAP:
Builder.CreateCall(Intrinsic::getDeclaration(TheModule, Intrinsic::trap));
// Emit an explicit unreachable instruction.
More information about the llvm-commits
mailing list