The sramecc feature changes the behaviour of d16 loads so they do not
preserve the unused 16 bits of the result register, but it has no impact
on d16 stores, so we should make use of them even when the feature is
enabled.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
No, I'm not sure, it's just based on the documentation I've seen which says that sramecc affects d16 loads.
llvm/test/CodeGen/AMDGPU/store-hi16.ll | ||
---|---|---|
106 | Should make this a plain GFX9 check then? This is just dropping all the GFX906 checks |
Should make this a plain GFX9 check then? This is just dropping all the GFX906 checks