aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstSelectSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-26 23:05:37 +0000
committerChris Lattner <sabre@nondot.org>2003-07-26 23:05:37 +0000
commit2a865b015b309778311d6026ae4f090e2b80afd0 (patch)
tree40ccf37c354a6d2effb95d63b38739c3b3a69665 /lib/Target/X86/InstSelectSimple.cpp
parent6856d11231f67bf8359679e5bba4937ef25ce769 (diff)
If the pass changes _anything_ it must return true
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index 1562c8483d..df911f6ba3 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/lib/Target/X86/InstSelectSimple.cpp
@@ -85,7 +85,8 @@ namespace {
RegMap.clear();
MBBMap.clear();
F = 0;
- return false; // We never modify the LLVM itself.
+ // We always build a machine code representation for the function
+ return true;
}
virtual const char *getPassName() const {