1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

If the pass changes _anything_ it must return true

llvm-svn: 7344
This commit is contained in:
Chris Lattner 2003-07-26 23:05:37 +00:00
parent 406d31b4c2
commit b92653f037

View File

@ -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 {