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:
Matt Arsenault 2016-07-08 17:06:48 +00:00
parent 097a2b9c88
commit b63f18c9c3
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {