aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-15 05:03:50 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-15 05:03:50 +0000
commitde07abe35de24e551783ee20a4213729b3524baa (patch)
treea3601dbc042936169244bb23e15911eb57e96a85 /lib/CodeGen/MachineVerifier.cpp
parent4ea24e993f179113a9bb76ee152cc490e738c936 (diff)
downloadexternal_llvm-de07abe35de24e551783ee20a4213729b3524baa.zip
external_llvm-de07abe35de24e551783ee20a4213729b3524baa.tar.gz
external_llvm-de07abe35de24e551783ee20a4213729b3524baa.tar.bz2
RemoveCopyByCommutingDef doesn't need hasPHIKill().
Instead, let HasOtherReachingDefs() test for defs in B that overlap any phi-defs in A as well. This test is slightly different, but almost identical. A perfectly precise test would only check those phi-defs in A that are reachable from AValNo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions