diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-09-13 12:19:01 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-09-13 12:19:28 +0100 |
commit | 47a9cd03435342f179a0df9daa1b918d33b03354 (patch) | |
tree | 73ad1908b2ee54938cc19d1088b18b9602529740 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 98a845c142160879ebfadcc192025c6be7e9083e (diff) | |
download | llvm-47a9cd03435342f179a0df9daa1b918d33b03354.zip llvm-47a9cd03435342f179a0df9daa1b918d33b03354.tar.gz llvm-47a9cd03435342f179a0df9daa1b918d33b03354.tar.bz2 |
[AMDGPU] Remove constexpr from getNumUserSGPRForField/getMaxNumPreloadedSGPRs to appease older gcc builds
Older versions of gcc wouldn't accept the constexpr getNumUserSGPRForField (introduced in D159439 / 343be5132e2831d85) as it couldn't treat the llvm_unreachable call as constexpr
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions