aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorFabian Ritter <fabian.ritter@amd.com>2024-10-11 08:50:49 +0200
committerGitHub <noreply@github.com>2024-10-11 08:50:49 +0200
commit173c68239d1d11f4e36c8af07a28310da67568a7 (patch)
treebb0c9dc8ea199d3fd9906a17d0f248ff757a1581 /clang/lib/Lex/Preprocessor.cpp
parent81bd712f928b3c736d83252df75c1c1bd3374122 (diff)
downloadllvm-173c68239d1d11f4e36c8af07a28310da67568a7.zip
llvm-173c68239d1d11f4e36c8af07a28310da67568a7.tar.gz
llvm-173c68239d1d11f4e36c8af07a28310da67568a7.tar.bz2
[AMDGPU] Enable unaligned scratch accesses (#110219)
This allows us to emit wide generic and scratch memory accesses when we do not have alignment information. In cases where accesses happen to be properly aligned or where generic accesses do not go to scratch memory, this improves performance of the generated code by a factor of up to 16x and reduces code size, especially when lowering memcpy and memmove intrinsics. Also: Make the use of the FeatureUnalignedScratchAccess feature more consistent: FeatureUnalignedScratchAccess and EnableFlatScratch are now orthogonal, whereas, before, code assumed that the latter implies the former at some places. Part of SWDEV-455845.
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions