summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/storage.cpp
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-22 08:46:28 -0400
committerZack Rusin <[email protected]>2007-10-24 11:21:04 -0400
commitba887517160ab2b5a70e01723ee649db1554775b (patch)
tree4ef313fbd3696edde93e4723de23793fc18e18c8 /src/mesa/pipe/llvm/storage.cpp
parent6815a9af6c98934e3537507ccbf077d69a5d5320 (diff)
Align the load/stores. Reduce the amount of debugging output.
Diffstat (limited to 'src/mesa/pipe/llvm/storage.cpp')
-rw-r--r--src/mesa/pipe/llvm/storage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/storage.cpp b/src/mesa/pipe/llvm/storage.cpp
index ba78de8260e..0fe973b78e8 100644
--- a/src/mesa/pipe/llvm/storage.cpp
+++ b/src/mesa/pipe/llvm/storage.cpp
@@ -77,6 +77,7 @@ llvm::Value *Storage::inputElement(int idx)
m_block);
LoadInst *load = new LoadInst(getElem, name("input"),
false, m_block);
+ load->setAlignment(8);
m_inputs[idx] = load;
return load;
}
@@ -93,6 +94,7 @@ llvm::Value *Storage::constElement(int idx)
m_block);
LoadInst *load = new LoadInst(getElem, name("const"),
false, m_block);
+ load->setAlignment(8);
m_consts[idx] = load;
return load;
}
@@ -136,6 +138,7 @@ void Storage::store(int dstIdx, llvm::Value *val, int mask)
name("out_ptr"),
m_block);
StoreInst *st = new StoreInst(val, getElem, false, m_block);
+ st->setAlignment(8);
//m_dstCache[dstIdx] = st;
}