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
- Build Status
Buildable 15554 Build 15554: arc lint + arc unit
Event Timeline
Comment Actions
Test nit. LGTM otherwise.
llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll | ||
---|---|---|
19 | Should there be a CHECK: ld.global.nc.... here and below? |
llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll | ||
---|---|---|
19 | Haha, oops. :) Thanks. |
Should there be a CHECK: ld.global.nc.... here and below?