summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/llvm.SI.imageload.ll
Commit message (Collapse)AuthorAgeFilesLines
* R600/SI: Change formatting of printed registers.Matt Arsenault2013-11-121-11/+11
| | | | | | | | | | | | | | | | | | | | | | | Print the range of registers used with a single letter prefix. This better matches what the shader compiler produces and is overall less obnoxious than concatenating all of the subregister names together. Instead of SGPR0, it will print s0. Instead of SGPR0_SGPR1, it will print s[0:1] and so on. There doesn't appear to be a straightforward way to get the actual register info in the InstPrinter, so this parses the generated name to print with the new syntax. The required test changes are pretty nasty, and register matching regexes are now worse. Since there isn't a way to add to a variable in FileCheck, some of the tests now don't check the exact number of registers used, but I don't think that will be a real problem. llvm-svn: 194443
* R600/SI: Use -verify-machineinstrs for most testsTom Stellard2013-10-101-1/+1
| | | | | | | | | | We can't enable the verifier for tests with SI_IF and SI_ELSE, because these instructions are always followed by a COPY which copies their result to the next basic block. This violates the machine verifier's rule that non-terminators can not folow terminators. Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 192366
* TBAA: update tbaa format from scalar format to struct-path aware format.Manman Ren2013-09-301-7/+7
| | | | llvm-svn: 191690
* R600/SI: Use i8 types for resource descriptors in testsTom Stellard2013-08-141-11/+11
| | | | | | | We switched from i32 to i8 types a while ago and the tests were never updated. llvm-svn: 188428
* R600/SI: Assign a register class to the $vaddr operand for MIMG instructionsTom Stellard2013-08-141-0/+44
| | | | | | | The previous code declared the operand as unknown:$vaddr, which made it possible for scalar registers to be used instead of vector registers. llvm-svn: 188425
* R600/SI: Handle MSAA texture targetsTom Stellard2013-08-141-1/+1
| | | | | | | Patch by: Marek Olšák Signed-off-by: Marek Olšák <marek.olsak@amd.com> llvm-svn: 188421
* R600/SI: Add more special cases for opcodes to ensureSRegLimit()Tom Stellard2013-08-061-10/+10
| | | | | | Also factor out the register class lookup to its own function. llvm-svn: 187830
* R600/SI: Add lit tests for llvm.SI.imageload and llvm.SI.resinfo intrinsicsMichel Danzer2013-05-081-0/+87
Adapted from the llvm.SI.sample test. Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 181425
OpenPOWER on IntegriCloud