If header of inner loop is aligned, do not align the outer loop header. We don't...
commitc4ee366f3ae6c503cbd09b1d25cd964bd5c800bc
authorEvan Cheng <evan.cheng@apple.com>
Tue, 12 May 2009 23:58:14 +0000 (12 23:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 12 May 2009 23:58:14 +0000 (12 23:58 +0000)
tree374063c19ca26b694e2ac9e2673cc729628ca4fa
parent5f35694aaf02377dbccf3f86264a99c252a7ebf1
If header of inner loop is aligned, do not align the outer loop header. We don't want to add nops in the outer loop for the sake of aligning the inner loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71609 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodePlacementOpt.cpp
test/CodeGen/X86/avoid-loop-align-2.ll [new file with mode: 0644]