summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/DSInstructions.td
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-10-06 10:13:23 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-10-06 10:13:23 +0000
commit10c17ca6c6f5ceb01323c5cd8d7c446afa0ffa8c (patch)
tree4eca6502f83d427bfd4a0eed05f356b68159ff1e /llvm/lib/Target/AMDGPU/DSInstructions.td
parent08a37f46e316dbd2c451d7c514a04831bd6dfa9a (diff)
downloadbcm5719-llvm-10c17ca6c6f5ceb01323c5cd8d7c446afa0ffa8c.tar.gz
bcm5719-llvm-10c17ca6c6f5ceb01323c5cd8d7c446afa0ffa8c.zip
AMDGPU: Partially fix reported code size for some instructions
These ones need to have the size on the pseudo instruction set for getInstSizeInBytes to work correctly. These also have a statically known size. llvm-svn: 283437
Diffstat (limited to 'llvm/lib/Target/AMDGPU/DSInstructions.td')
-rw-r--r--llvm/lib/Target/AMDGPU/DSInstructions.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/DSInstructions.td b/llvm/lib/Target/AMDGPU/DSInstructions.td
index 06103f3056d..8adb7f6bb34 100644
--- a/llvm/lib/Target/AMDGPU/DSInstructions.td
+++ b/llvm/lib/Target/AMDGPU/DSInstructions.td
@@ -15,6 +15,7 @@ class DS_Pseudo <string opName, dag outs, dag ins, string asmOps, list<dag> patt
let LGKM_CNT = 1;
let DS = 1;
+ let Size = 8;
let UseNamedOperandTable = 1;
let Uses = [M0, EXEC];
OpenPOWER on IntegriCloud