Fix rslib.ll.

Change-Id: Icb153e880ceba0d7805c7a9eafb9f1b17faf2f72
diff --git a/lib/bcc/Compiler.cpp b/lib/bcc/Compiler.cpp
index 274f20b..49fcbf3 100644
--- a/lib/bcc/Compiler.cpp
+++ b/lib/bcc/Compiler.cpp
@@ -379,6 +379,10 @@
   ExportFuncMetadata = mModule->getNamedMetadata(ExportFuncMetadataName);
   PragmaMetadata = mModule->getNamedMetadata(PragmaMetadataName);
 
+#if 0
+  mHasLinked = false;
+#endif
+
   // Create LTO passes and run them on the mModule
   if (mHasLinked) {
     llvm::TimePassesIsEnabled = true;  // TODO(all)
diff --git a/lib/bcc/rslib.bc b/lib/bcc/rslib.bc
index 584b2f0..b0ae5db 100644
--- a/lib/bcc/rslib.bc
+++ b/lib/bcc/rslib.bc
Binary files differ
diff --git a/lib/bcc/rslib.ll b/lib/bcc/rslib.ll
index 959e75e..00ddb24 100644
--- a/lib/bcc/rslib.ll
+++ b/lib/bcc/rslib.ll
@@ -1,11 +1,11 @@
 ; ModuleID = 'rslib.bc'
 
-define <3 x float> @_Z15convert1_float3Dv3_h(<3 x i8> %u3) nounwind readnone {
-  %conv = uitofp <3 x i8> %u3 to <3 x float>
-  ret <3 x float> %conv
-}
+;define <3 x float> @_Z15convert1_float3Dv3_h(<3 x i8> %u3) nounwind readnone {
+;  %conv = uitofp <3 x i8> %u3 to <3 x float>
+;  ret <3 x float> %conv
+;}
 
-define <3 x i8> @_Z14convert2uchar3Dv3_f(<3 x float> %v) nounwind {
+define <3 x i8> @_Z14convert2uchar3Dv3_f(<3 x float> %v) nounwind readnone {
   %1 = extractelement <3 x float> %v, i32 0
   %2 = fptoui float %1 to i8
   %3 = insertelement <3 x i8> undef, i8 %2, i32 0
@@ -18,32 +18,32 @@
   ret <3 x i8> %9
 }
 
-declare float @llvm.powi.f32(float, i32) nounwind readonly
-
-define <3 x float> @_Z4powiDv3_fi(<3 x float> %f3, i32 %exp) nounwind readnone {
-  %x = extractelement <3 x float> %f3, i32 0
-  %y = extractelement <3 x float> %f3, i32 1
-  %z = extractelement <3 x float> %f3, i32 2
-  %retx = tail call float @llvm.powi.f32(float %x, i32 %exp)
-  %rety = tail call float @llvm.powi.f32(float %y, i32 %exp)
-  %retz = tail call float @llvm.powi.f32(float %z, i32 %exp)
-  %tmp1 = insertelement <3 x float> %f3, float %retx, i32 0
-  %tmp2 = insertelement <3 x float> %tmp1, float %rety, i32 1
-  %ret = insertelement <3 x float> %tmp2, float %retz, i32 2
-  ret <3 x float> %ret
-}
-
-declare float @llvm.pow.f32(float, float) nounwind readonly
-
-define <3 x float> @_Z4pow3Dv3_ff(<3 x float> %f3, float %exp) nounwind readnone {
-  %x = extractelement <3 x float> %f3, i32 0
-  %y = extractelement <3 x float> %f3, i32 1
-  %z = extractelement <3 x float> %f3, i32 2
-  %retx = tail call float @llvm.pow.f32(float %x, float %exp)
-  %rety = tail call float @llvm.pow.f32(float %y, float %exp)
-  %retz = tail call float @llvm.pow.f32(float %z, float %exp)
-  %tmp1 = insertelement <3 x float> %f3, float %retx, i32 0
-  %tmp2 = insertelement <3 x float> %tmp1, float %rety, i32 1
-  %ret = insertelement <3 x float> %tmp2, float %retz, i32 2
-  ret <3 x float> %ret
-}
+;declare float @llvm.powi.f32(float, i32) nounwind readonly
+;
+;define <3 x float> @_Z4powiDv3_fi(<3 x float> %f3, i32 %exp) nounwind readnone {
+;  %x = extractelement <3 x float> %f3, i32 0
+;  %y = extractelement <3 x float> %f3, i32 1
+;  %z = extractelement <3 x float> %f3, i32 2
+;  %retx = tail call float @llvm.powi.f32(float %x, i32 %exp)
+;  %rety = tail call float @llvm.powi.f32(float %y, i32 %exp)
+;  %retz = tail call float @llvm.powi.f32(float %z, i32 %exp)
+;  %tmp1 = insertelement <3 x float> %f3, float %retx, i32 0
+;  %tmp2 = insertelement <3 x float> %tmp1, float %rety, i32 1
+;  %ret = insertelement <3 x float> %tmp2, float %retz, i32 2
+;  ret <3 x float> %ret
+;}
+;
+;declare float @llvm.pow.f32(float, float) nounwind readonly
+;
+;define <3 x float> @_Z4pow3Dv3_ff(<3 x float> %f3, float %exp) nounwind readnone {
+;  %x = extractelement <3 x float> %f3, i32 0
+;  %y = extractelement <3 x float> %f3, i32 1
+;  %z = extractelement <3 x float> %f3, i32 2
+;  %retx = tail call float @llvm.pow.f32(float %x, float %exp)
+;  %rety = tail call float @llvm.pow.f32(float %y, float %exp)
+;  %retz = tail call float @llvm.pow.f32(float %z, float %exp)
+;  %tmp1 = insertelement <3 x float> %f3, float %retx, i32 0
+;  %tmp2 = insertelement <3 x float> %tmp1, float %rety, i32 1
+;  %ret = insertelement <3 x float> %tmp2, float %retz, i32 2
+;  ret <3 x float> %ret
+;}