diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-06-16 20:48:27 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-06-16 20:48:27 +0000 |
commit | 1aae9e8e12f7c7f41d1b487b49b562594e379fa0 (patch) | |
tree | d35aa6aad6e1cdb8637e7a94201d1122604813de /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 83c15f8a1b19e7b656cf4bb75a01c9fea8be7a6d (diff) | |
download | llvm-1aae9e8e12f7c7f41d1b487b49b562594e379fa0.zip llvm-1aae9e8e12f7c7f41d1b487b49b562594e379fa0.tar.gz llvm-1aae9e8e12f7c7f41d1b487b49b562594e379fa0.tar.bz2 |
Fix PR1517:
Use SmallPtrSet instead of std::vector to eliminate duplicate uses in a
function generated with -gen-function. This prevents the output from having
multiple duplicate declarations of constants and gvals.
llvm-svn: 37616
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions