[llvm-branch-commits] [llvm-branch] r166324 - /llvm/branches/R600/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
Tom Stellard
thomas.stellard at amd.com
Fri Oct 19 14:10:02 PDT 2012
Author: tstellar
Date: Fri Oct 19 16:10:02 2012
New Revision: 166324
URL: http://llvm.org/viewvc/llvm-project?rev=166324&view=rev
Log:
R600: Prevent the CFG Structurizer from emitting extra ENDIFs
Modified:
llvm/branches/R600/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
Modified: llvm/branches/R600/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp?rev=166324&r1=166323&r2=166324&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp Fri Oct 19 16:10:02 2012
@@ -1647,7 +1647,6 @@
CFGTraits::insertAssignInstrBefore(branchInstrPos, passRep, setReg, 1);
}
CFGTraits::insertInstrBefore(branchInstrPos, AMDGPU::BREAK, passRep);
- CFGTraits::insertInstrBefore(branchInstrPos, AMDGPU::ENDIF, passRep);
} //if_logical
//now branchInst can be erase safely
More information about the llvm-branch-commits
mailing list