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)
commite5121f3c109e65099f5e422f14f697d1cd8a4eac
tree4252384ecdca8e3f274c1160a5c29be47d1eb608
parent4121d5a2667e5818c6e8ec246a4fee01a8ebaf3e
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>
llvm-svn: 219710
llvm/include/llvm/IR/IntrinsicsR600.td
llvm/lib/Target/R600/AMDGPUMachineFunction.h
llvm/lib/Target/R600/R600ISelLowering.cpp
llvm/lib/Target/R600/SIISelLowering.cpp
llvm/test/CodeGen/R600/work-item-intrinsics.ll