| commit | 8367067e02a84f326aa06cb22cc66805421cfe3f | [log] [tgz] |
|---|---|---|
| author | Tom Stellard <thomas.stellard@amd.com> | Mon Apr 29 22:23:54 2013 +0000 |
| committer | Tom Stellard <thomas.stellard@amd.com> | Mon Apr 29 22:23:54 2013 +0000 |
| tree | 5e88893aa6840e5dd326e8f0adadb5808e0a51ce | |
| parent | 2b06530ed6a2108038b40ead5ceb469d371bad9a [diff] [blame] |
R600: Fix encoding of CF_END_{EG, R600} instructions
The EOP bit was not being encoded.
llvm-svn: 180734
diff --git a/llvm/test/CodeGen/R600/cf_end.ll b/llvm/test/CodeGen/R600/cf_end.ll new file mode 100644 index 0000000..67d5e3e --- /dev/null +++ b/llvm/test/CodeGen/R600/cf_end.ll
@@ -0,0 +1,6 @@ +; RUN: llc < %s -march=r600 -mcpu=redwood --show-mc-encoding | FileCheck %s + +; CHECK: CF_END ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x80] +define void @eop() { + ret void +}