From ba887517160ab2b5a70e01723ee649db1554775b Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Mon, 22 Oct 2007 08:46:28 -0400 Subject: Align the load/stores. Reduce the amount of debugging output. --- src/mesa/pipe/llvm/storage.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/pipe/llvm/storage.cpp') 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; } -- cgit v1.2.3