1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib
Nicolai Haehnle f54e57a212 AMDGPU/SI: add llvm.amdgcn.ps.live intrinsic
Summary:
This intrinsic returns true if the current thread belongs to a live pixel
and false if it belongs to a pixel that we are executing only for derivative
computation. It will be used by Mesa to implement gl_HelperInvocation.

Note that for pixels that are killed during the shader, this implementation
also returns true, but it doesn't matter because those pixels are always
disabled in the EXEC mask.

This unearthed a corner case in the instruction verifier, which complained
about a v_cndmask 0, 1, exec, exec<imp-use> instruction. That's stupid but
correct code, so make the verifier accept it as such.

Reviewers: arsenm, tstellarAMD

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D19191

llvm-svn: 267102
2016-04-22 04:04:08 +00:00
..
Analysis Initial implementation of optimization bisect support. 2016-04-21 17:58:54 +00:00
AsmParser IR: Enable debug info type ODR uniquing for forward decls 2016-04-19 18:00:19 +00:00
Bitcode ValueMapper/Enumerator: Clean up code in post-order traversals, NFC 2016-04-22 02:33:06 +00:00
CodeGen AMDGPU/SI: add llvm.amdgcn.ps.live intrinsic 2016-04-22 04:04:08 +00:00
DebugInfo Fix PDB warnings and test 2016-04-21 22:37:55 +00:00
ExecutionEngine [RuntimeDyld] Fix conservative over-allocation of memory for common symbols. 2016-04-21 20:08:06 +00:00
Fuzzer [libFuzzer] added -detect_leaks flag (0 by default for now). When enabled, it will help finding leaks while fuzzing 2016-04-20 00:24:21 +00:00
IR Add utility function to manipulate attributes on CallSite. NFC 2016-04-21 21:29:10 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
LTO [ThinLTO] Remove unused/incomplete lazy summary reading support (NFC) 2016-04-22 01:52:00 +00:00
MC MachO: enable .data_region directives everywhere 2016-04-21 23:00:17 +00:00
Object [ThinLTO] Remove unused/incomplete lazy summary reading support (NFC) 2016-04-22 01:52:00 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes Port DemandedBits to the new pass manager. 2016-04-18 23:55:01 +00:00
ProfileData [ProfileData] Report errors from InstrProfSymtab::create 2016-04-21 21:07:25 +00:00
Support CachePruning: early exit if no path supplied 2016-04-21 06:43:45 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target AMDGPU/SI: add llvm.amdgcn.ps.live intrinsic 2016-04-22 04:04:08 +00:00
Transforms ValueMapper/Enumerator: Clean up code in post-order traversals, NFC 2016-04-22 02:33:06 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00