aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-03-10 23:06:50 +0000
committerChris Lattner <sabre@nondot.org>2003-03-10 23:06:50 +0000
commit8d96964e29e737b597e31af04db14570b87c6346 (patch)
tree0e72338b831bc5b55880770dc08c0228ca8e6cc0 /lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.cpp
parent1b77300154ca8cbf1594475712811228f898149c (diff)
Generalize not and neg comparison testers to allow constant to be considered not'able and neg'able. This
allows optimization of this: int %test4(int %A, int %B) { %a = xor int %A, -1 %c = and int %a, 5 ; 5 = ~c2 %d = xor int %c, -1 ret int %d } into this: int %test4(int %A, int %B) { ; No predecessors! %c.demorgan = or int %A, -6 ; <int> [#uses=1] ret int %c.demorgan } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.cpp')
0 files changed, 0 insertions, 0 deletions