[PATCH] D77329: [AMDGPU] Allow AGPR in inline asm
Stanislav Mekhanoshin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 2 15:11:46 PDT 2020
rampitec added inline comments.
================
Comment at: clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl:16
+ float reg_b;
+ float reg_c;
+ // CHECK: call <32 x float> asm "v_mfma_f32_32x32x1f32 $0, $1, $2, $3", "=a,v,v,a,~{a0},~{a1},~{a2},~{a3},~{a4},~{a5},~{a6},~{a7},~{a8},~{a9},~{a10},~{a11},~{a12},~{a13},~{a14},~{a15},~{a16},~{a17},~{a18},~{a19},~{a20},~{a21},~{a22},~{a23},~{a24},~{a25},~{a26},~{a27},~{a28},~{a29},~{a30},~{a31}"
----------------
reg_c is also float32.
================
Comment at: clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl:36
+}
\ No newline at end of file
----------------
New line.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77329/new/
https://reviews.llvm.org/D77329
More information about the cfe-commits
mailing list