mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
Revert "Increase the size of this SmallVector in PeepholeOptimizer." (r215340)
That broke the build: /data/buildslave/clang-amd64-freebsd/src-llvm/lib/CodeGen/PeepholeOptimizer.cpp:729:46: error: non-const lvalue reference to type 'SmallPtrSet<[...], 8>' cannot bind to a value of unrelated type 'SmallPtrSet<[...], 16>' Changed |= optimizeExtInstr(MI, MBB, LocalMIs); ^~~~~~~~ /data/buildslave/clang-amd64-freebsd/src-llvm/lib/CodeGen/PeepholeOptimizer.cpp:265:49: note: passing argument to parameter 'LocalMIs' here SmallPtrSet<MachineInstr*, 8> &LocalMIs) { ^ llvm-svn: 215341
This commit is contained in:
parent
507c6b806e
commit
6d6e4c6f00
@ -687,7 +687,7 @@ bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) {
|
||||
MachineBasicBlock *MBB = &*I;
|
||||
|
||||
bool SeenMoveImm = false;
|
||||
SmallPtrSet<MachineInstr*, 16> LocalMIs;
|
||||
SmallPtrSet<MachineInstr*, 8> LocalMIs;
|
||||
SmallSet<unsigned, 4> ImmDefRegs;
|
||||
DenseMap<unsigned, MachineInstr*> ImmDefMIs;
|
||||
SmallSet<unsigned, 16> FoldAsLoadDefCandidates;
|
||||
|
Loading…
x
Reference in New Issue
Block a user