[PATCH] D43915: [NVPTX] Lower loads from global constants using ld.global.nc (aka LDG).

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 16:00:55 PST 2018


jlebar marked an inline comment as done.
jlebar added inline comments.


================
Comment at: llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll:19
+define <2 x float> @test_gv_float2() {
+  %v = load <2 x float>, <2 x float>* @gv_float2
+  ret <2 x float> %v
----------------
tra wrote:
> Should there be a `CHECK: ld.global.nc....` here and below? 
Haha, oops.  :)  Thanks.


https://reviews.llvm.org/D43915





More information about the llvm-commits mailing list