summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/llvm.SI.sample.ll
Commit message (Collapse)AuthorAgeFilesLines
* R600: Call EmitFunctionHeader() in the AsmPrinter to populate the ELF symbol ↵Tom Stellard2014-10-011-1/+1
| | | | | | table llvm-svn: 218776
* R600/SI: Add ShaderType attribute to some testsTom Stellard2014-02-131-2/+4
| | | | llvm-svn: 201367
* R600/SI: Change formatting of printed registers.Matt Arsenault2013-11-121-17/+17
| | | | | | | | | | | | | | | | | | | | | | | 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
* R600/SI: Replace v1i32 type with i32 in imageload and sample intrinsicsTom Stellard2013-08-141-0/+17
| | | | llvm-svn: 188430
* R600/SI: Convert v16i8 resource descriptors to i128Tom Stellard2013-08-141-17/+17
| | | | | | | | | | | | | Now that compute support is better on SI, we can't continue using v16i8 for descriptors since this is also a legal type in OpenCL. This patch fixes numerous hangs with the piglit OpenCL test and since we now use a target specific DAG node for LOAD_CONSTANT with the correct MemOperandFlags, this should also fix: https://bugs.freedesktop.org/show_bug.cgi?id=66805 llvm-svn: 188429
* R600/SI: Use i8 types for resource descriptors in testsTom Stellard2013-08-141-17/+17
| | | | | | | We switched from i32 to i8 types a while ago and the tests were never updated. llvm-svn: 188428
* R600/SI: Add more special cases for opcodes to ensureSRegLimit()Tom Stellard2013-08-061-16/+16
| | | | | | Also factor out the register class lookup to its own function. llvm-svn: 187830
* R600/SI: dynamical figure out the reg class of MIMGChristian Konig2013-04-101-15/+15
| | | | | | | | Depending on the number of bits set in the writemask. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 179166
* R600/SI: adjust writemask to only the used componentsChristian Konig2013-04-101-31/+65
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 179165
* R600/SI: remove image sample writemaskChristian Konig2013-04-101-17/+17
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 179164
* R600/SI: Add processor types for each SI variantTom Stellard2013-04-051-1/+1
| | | | | Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 178928
* R600/SI: mark most intrinsics as readnone v2Christian Konig2013-03-261-48/+83
| | | | | | | | | They read from constant register space anyway. v2: fix lit tests Signed-off-by: Christian König <christian.koenig@amd.com> llvm-svn: 178020
* R600/SI: fix sampler tests after fixing wait insertionsChristian Konig2013-03-011-15/+15
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176359
* R600: Add lit tests for texture sampling instruction selection.Michel Danzer2013-02-141-0/+71
Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 175138
OpenPOWER on IntegriCloud