forked from OSchip/llvm-project
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
This commit is contained in:
parent
097a2b9c88
commit
b63f18c9c3
|
|
@ -644,7 +644,7 @@ bool SILowerControlFlow::runOnMachineFunction(MachineFunction &MF) {
|
||||||
if (TII->isFLAT(MI))
|
if (TII->isFLAT(MI))
|
||||||
NeedFlat = true;
|
NeedFlat = true;
|
||||||
|
|
||||||
if (I->definesRegister(AMDGPU::EXEC, TRI))
|
if (I->modifiesRegister(AMDGPU::EXEC, TRI))
|
||||||
ExecModified = true;
|
ExecModified = true;
|
||||||
|
|
||||||
switch (MI.getOpcode()) {
|
switch (MI.getOpcode()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue