After D43914, loads from global variables in addrspace(1) happen with
ld.global. But since they're constants, even better would be to use
ld.global.nc, aka ldg.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Test nit. LGTM otherwise.
llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll | ||
---|---|---|
19 ↗ | (On Diff #136413) | Should there be a CHECK: ld.global.nc.... here and below? |
llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll | ||
---|---|---|
19 ↗ | (On Diff #136413) | Haha, oops. :) Thanks. |