summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-08 17:06:48 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-08 17:06:48 +0000
commitb63f18c9c3e90c6dc051add71ed01103ed7a23dc (patch)
tree05837cd9d0de9d77e0f70988f97d50668eadee4c /llvm/lib
parent097a2b9c888ee2ea76074d163c6ea73131dca699 (diff)
downloadbcm5719-llvm-b63f18c9c3e90c6dc051add71ed01103ed7a23dc.tar.gz
bcm5719-llvm-b63f18c9c3e90c6dc051add71ed01103ed7a23dc.zip
AMDGPU: Minor adjustment to r274817
The commit message is inaccurate, modifiesRegister will check for partial defs of exec. We currently don't ever emit partial defs of exec, so it doesn't really matter. llvm-svn: 274886
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
index 81dfd919998..c96d08f594c 100644
--- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
@@ -644,7 +644,7 @@ bool SILowerControlFlow::runOnMachineFunction(MachineFunction &MF) {
if (TII->isFLAT(MI))
NeedFlat = true;
- if (I->definesRegister(AMDGPU::EXEC, TRI))
+ if (I->modifiesRegister(AMDGPU::EXEC, TRI))
ExecModified = true;
switch (MI.getOpcode()) {
OpenPOWER on IntegriCloud