projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU: Error if too many user SGPRs used
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
AMDGPUSubtarget.h
diff --git
a/lib/Target/AMDGPU/AMDGPUSubtarget.h
b/lib/Target/AMDGPU/AMDGPUSubtarget.h
index 9921630326b45f374ce00a8451c5ef753269e93f..971b5179b13c451cc1d6e11d909111b02c552dc3 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUSubtarget.h
+++ b/
lib/Target/AMDGPU/AMDGPUSubtarget.h
@@
-303,6
+303,9
@@
public:
return isAmdHsaOS() ? 0 : 36;
}
+ unsigned getMaxNumUserSGPRs() const {
+ return 16;
+ }
};
} // End namespace llvm