mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Funcresolve no longer performs nicification of resolved functions
instcombine does this git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
936f771e25
commit
dccb6d017b
@ -404,6 +404,11 @@ int main(int argc, char **argv) {
|
||||
//
|
||||
Passes.add(createGlobalDCEPass());
|
||||
|
||||
// The FuncResolve pass may leave cruft around if functions were prototyped
|
||||
// differently than they were defined. Remove this cruft.
|
||||
//
|
||||
Passes.add(createInstructionCombiningPass());
|
||||
|
||||
// Add the pass that writes bytecode to the output file...
|
||||
std::string RealBytecodeOutput = OutputFilename;
|
||||
if (!LinkAsLibrary) RealBytecodeOutput += ".bc";
|
||||
|
Loading…
Reference in New Issue
Block a user