[Mesa-dev] [PATCH] R600: Add lit tests for texture sampling instruction selection.

Michel Dänzer michel at daenzer.net
Thu Feb 14 00:20:09 PST 2013


On Die, 2013-02-12 at 15:22 +0100, Tom Stellard wrote: 
> 
> Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

Thanks, committed as revision 175138. Unfortunately, I only noticed
afterwards that the new SI test failed an assertion on trunk, see below.
I committed revision 175139 to fix that, but it might just be a bandaid
that needs revisiting.


llc: /home/daenzer/src/llvm-git/llvm/include/llvm/ADT/SmallVector.h:157: T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::back() [with T = std::pair<llvm::BasicBlock*, llvm::Value*>; <template-parameter-1-2> = void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::reference = std::pair<llvm::BasicBlock*, llvm::Value*>&]: Assertion `!empty()' failed.
0  llc             0x000000000121b4ca llvm::sys::PrintStackTrace(_IO_FILE*) + 38
1  llc             0x000000000121b751
2  llc             0x000000000121b1a0
3  libpthread.so.0 0x00007f5739041030
4  libc.so.6       0x00007f573812f475 gsignal + 53
5  libc.so.6       0x00007f57381326f0 abort + 384
6  libc.so.6       0x00007f5738128621 __assert_fail + 241
7  llc             0x0000000000a244c9
8  llc             0x0000000000a22b86
9  llc             0x0000000000a23934
10 llc             0x0000000001137f39 llvm::FPPassManager::runOnFunction(llvm::Function&) + 385
11 llc             0x000000000113812a llvm::FPPassManager::runOnModule(llvm::Module&) + 84
12 llc             0x0000000001138487 llvm::MPPassManager::runOnModule(llvm::Module&) + 559
13 llc             0x0000000001138a89 llvm::PassManagerImpl::run(llvm::Module&) + 249
14 llc             0x0000000001138c9b llvm::PassManager::run(llvm::Module&) + 39
15 llc             0x000000000080fad1
16 llc             0x000000000080eb3c main + 237
17 libc.so.6       0x00007f573811bead __libc_start_main + 253
18 llc             0x000000000080e479
Stack dump:
0.	Program arguments: build-trunk/Debug+Asserts/bin/llc -march=r600 -mcpu=SI 
1.	Running pass 'Function Pass Manager' on module '<stdin>'.
2.	Running pass 'SI annotate control flow' on function '@test'

-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list