We can safely assume that the high bit of scratch offsets will never
be set, because this would require at least 128 GB of GPU memory.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
824–826 ↗ | (On Diff #29791) | I think this should be wrapped under a subtarget feature (that defaults to on) and use a more conservative assumption if off. For a name idea -huge-memory-support or something like that |
lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
824–826 ↗ | (On Diff #29791) | By default to on I mean this should default to happening rather than default the conservative assumption |
Comment Actions
Updated patch: Use AssertZext instead of AssertAnd and add a subtarget attribute to
control this behavior.