mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
If the pass changes _anything_ it must return true
llvm-svn: 7344
This commit is contained in:
parent
406d31b4c2
commit
b92653f037
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user