Reapply "R600: Add new intrinsic to read work dimensions"
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 14 Oct 2014 20:05:26 +0000 (20:05 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 14 Oct 2014 20:05:26 +0000 (20:05 +0000)
commitd6315ea5a52251420e98ed0fa096c513ce7f57f9
treeabdde78792ea4412e5d521a2c8e6a94aff0aaa3a
parentf0f98417caf0e7490d7cdd34548242c640e5c928
Reapply "R600: Add new intrinsic to read work dimensions"

This effectively reverts revert 219707. After fixing the test to work with
new function name format and renamed intrinsic.

Reviewed-by: Tom Stellard <tom@stellard.net>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219710 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsR600.td
lib/Target/R600/AMDGPUMachineFunction.h
lib/Target/R600/R600ISelLowering.cpp
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/work-item-intrinsics.ll