diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2018-05-12 21:28:53 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2018-05-12 21:28:53 +0000 |
| commit | 095d69507e026151c599fd644e9149b6505cc043 (patch) | |
| tree | 96fd408493cb966e5893aff7ce6af5a4ed002c04 /llvm/lib | |
| parent | 74f298920281cbf94facf61fe06ddb1a326de704 (diff) | |
| download | bcm5719-llvm-095d69507e026151c599fd644e9149b6505cc043.tar.gz bcm5719-llvm-095d69507e026151c599fd644e9149b6505cc043.zip | |
[x86] Remove a comment obviated by r330269. Should have deleted the
comment in the same revision but missed it.
Thanks to Dimitry Andric for catching this!
llvm-svn: 332177
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86FlagsCopyLowering.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp b/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp index fea5ce68766..e31a47c5224 100644 --- a/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp +++ b/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp @@ -630,11 +630,6 @@ std::pair<unsigned, bool> X86FlagsCopyLoweringPass::getCondOrInverseInReg( void X86FlagsCopyLoweringPass::insertTest(MachineBasicBlock &MBB, MachineBasicBlock::iterator Pos, DebugLoc Loc, unsigned Reg) { - // We emit test instructions as register/immediate test against -1. This - // allows register allocation to fold a memory operand if needed (that will - // happen often due to the places this code is emitted). But hopefully will - // also allow us to select a shorter encoding of `testb %reg, %reg` when that - // would be equivalent. auto TestI = BuildMI(MBB, Pos, Loc, TII->get(X86::TEST8rr)).addReg(Reg).addReg(Reg); (void)TestI; |

