forked from OSchip/llvm-project
[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
This commit is contained in:
parent
74f2989202
commit
095d69507e
|
@ -630,11 +630,6 @@ std::pair<unsigned, bool> X86FlagsCopyLoweringPass::getCondOrInverseInReg(
|
||||||
void X86FlagsCopyLoweringPass::insertTest(MachineBasicBlock &MBB,
|
void X86FlagsCopyLoweringPass::insertTest(MachineBasicBlock &MBB,
|
||||||
MachineBasicBlock::iterator Pos,
|
MachineBasicBlock::iterator Pos,
|
||||||
DebugLoc Loc, unsigned Reg) {
|
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 =
|
auto TestI =
|
||||||
BuildMI(MBB, Pos, Loc, TII->get(X86::TEST8rr)).addReg(Reg).addReg(Reg);
|
BuildMI(MBB, Pos, Loc, TII->get(X86::TEST8rr)).addReg(Reg).addReg(Reg);
|
||||||
(void)TestI;
|
(void)TestI;
|
||||||
|
|
Loading…
Reference in New Issue