projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU/SI: Add s_waitcnt at the end of non-void functions
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
SIMachineFunctionInfo.cpp
diff --git
a/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
b/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
index 878fd768bba450eef83b44aa1be667bbd5d6a599..49677fc2b0a312ed4a9e8cf9e2d46197f2a0eed5 100644
(file)
--- a/
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+++ b/
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
@@
-47,6
+47,7
@@
SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF)
WorkGroupInfoSystemSGPR(AMDGPU::NoRegister),
PrivateSegmentWaveByteOffsetSystemSGPR(AMDGPU::NoRegister),
PSInputAddr(0),
+ ReturnsVoid(true),
LDSWaveSpillSize(0),
PSInputEna(0),
NumUserSGPRs(0),