diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-06-03 17:39:43 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-06-03 17:39:43 +0000 |
commit | 132183510f3db502c7d837ee0dc40221b5c6245e (patch) | |
tree | 4d4ae24ae2752c6956a801a18e8e0a3022003f36 /lib/Target/R600/AMDGPUInstructions.td | |
parent | 4956bc61e1c86e781fd8abe14431c121d960d65b (diff) | |
download | external_llvm-132183510f3db502c7d837ee0dc40221b5c6245e.zip external_llvm-132183510f3db502c7d837ee0dc40221b5c6245e.tar.gz external_llvm-132183510f3db502c7d837ee0dc40221b5c6245e.tar.bz2 |
R600/SI: Add support for global loads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPUInstructions.td')
-rw-r--r-- | lib/Target/R600/AMDGPUInstructions.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUInstructions.td b/lib/Target/R600/AMDGPUInstructions.td index 54df7d0..29df374 100644 --- a/lib/Target/R600/AMDGPUInstructions.td +++ b/lib/Target/R600/AMDGPUInstructions.td @@ -90,6 +90,10 @@ def zextloadi8_global : PatFrag<(ops node:$ptr), (zextloadi8 node:$ptr), [{ return isGlobalLoad(dyn_cast<LoadSDNode>(N)); }]>; +def zextloadi8_constant : PatFrag<(ops node:$ptr), (zextloadi8 node:$ptr), [{ + return isGlobalLoad(dyn_cast<LoadSDNode>(N)); +}]>; + class Constants { int TWO_PI = 0x40c90fdb; int PI = 0x40490fdb; |