summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-06-15 18:25:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-06-15 18:25:30 +0000
commit877c3e2b811f797c95cac6ce46fc59afcc9cf5e7 (patch)
tree25c0edf7deaf342f249e76be651b114e12b27c78
parent439009c81e9e4799da64d3c40f4442f01c8f0d32 (diff)
downloadexternal_llvm-877c3e2b811f797c95cac6ce46fc59afcc9cf5e7.zip
external_llvm-877c3e2b811f797c95cac6ce46fc59afcc9cf5e7.tar.gz
external_llvm-877c3e2b811f797c95cac6ce46fc59afcc9cf5e7.tar.bz2
Put the hack back in that removes features, causes regressions to fail, but
allows test programs to succeed. Actual fix for this is forthcoming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22213 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 218910f..53ee6ca 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -3088,6 +3088,8 @@ Instruction *InstCombiner::visitSetCondInstWithCastAndCast(SetCondInst &SCI) {
return 0;
}
+ return 0; //The rest of this function is broken. See bug 571
+
// Okay, we have the two reduced sized operands. If we are doing a <,>
// comparison, make sure we perform the compare with the same signedness as
// the DestTy. We don't have to do this if the comparison is !=/== or if the