diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-07-08 17:06:48 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-07-08 17:06:48 +0000 |
commit | b63f18c9c3e90c6dc051add71ed01103ed7a23dc (patch) | |
tree | 05837cd9d0de9d77e0f70988f97d50668eadee4c /llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | |
parent | 097a2b9c888ee2ea76074d163c6ea73131dca699 (diff) | |
download | bcm5719-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/Target/AMDGPU/SILowerControlFlow.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 2 |
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()) { |