summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2018-12-12 15:46:18 +0000
committerPavel Labath <pavel@labath.sk>2018-12-12 15:46:18 +0000
commitef8683abec6b4f36cef4bba2fd6a4b69f0e59f22 (patch)
treed1d7518afc2b5d089c6106c179cfe94ad0cf42af /llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
parent9d1fa349a46a8ace536b32bc6d6eb40fee0ebc40 (diff)
downloadbcm5719-llvm-ef8683abec6b4f36cef4bba2fd6a4b69f0e59f22.tar.gz
bcm5719-llvm-ef8683abec6b4f36cef4bba2fd6a4b69f0e59f22.zip
ELF: Clean up section type computation
Move code into a separate function, and replace the if-else chain with llvm::StringSwitch. A slight behavioral change is that now I use the section flags (SHF_TLS) instead of the section name to set the thread-specific property. There is no explanation in the original commit introducing this (r153537) as to why that was done this way, but the new behavior should be more correct. llvm-svn: 348936
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud