summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/instructions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/instructions.cpp')
-rw-r--r--src/mesa/pipe/llvm/instructions.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mesa/pipe/llvm/instructions.cpp b/src/mesa/pipe/llvm/instructions.cpp
index 3105c49..5a40888 100644
--- a/src/mesa/pipe/llvm/instructions.cpp
+++ b/src/mesa/pipe/llvm/instructions.cpp
@@ -167,7 +167,7 @@ llvm::Value *Instructions::callFAbs(llvm::Value *val)
llvm::Value * Instructions::lit(llvm::Value *in)
{
-#if 1
+#if 0
printVector(in);
return in;
@@ -191,7 +191,7 @@ llvm::Value * Instructions::lit(llvm::Value *in)
m_llvmLit = makeLitFunction(m_mod);
}
CallInst *call = new CallInst(m_llvmLit, in, name("litres"), m_block);
- //call->setCallingConv(CallingConv::C);
+ call->setCallingConv(CallingConv::C);
call->setTailCall(false);
return call;
#endif
@@ -897,8 +897,3 @@ void Instructions::printVector(llvm::Value *val)
call->setCallingConv(CallingConv::C);
call->setTailCall(true);
}
-
-llvm::Value * Instructions::swizzleWrite(llvm::Value *in, int mask)
-{
-
-}