diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-05-05 18:49:05 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-05-05 18:49:05 +0000 |
commit | 05b84d416881e64642884f7620962b440a10921c (patch) | |
tree | 8092756d264d18d8a67e4e871cb71cb62a4eb88c /llvm/lib | |
parent | ce36c4cee190067fa3e9b4d3f19eda6c986cefc4 (diff) | |
download | bcm5719-llvm-05b84d416881e64642884f7620962b440a10921c.tar.gz bcm5719-llvm-05b84d416881e64642884f7620962b440a10921c.zip |
Revert "Fix IfConverter to handle regmask machine operands."
This reverts commit b27413cbfd78d959c18e713bfa271fb69e6b3303 (ie r236515).
This is to get the bots green while i investigate the failures.
llvm-svn: 236517
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/IfConversion.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index 4bad70925d7..938c9cf6039 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/lib/CodeGen/IfConversion.cpp @@ -985,20 +985,6 @@ static void UpdatePredRedefs(MachineInstr *MI, LivePhysRegs &Redefs) { // take a mutable instruction instead of const. MachineInstr *OpMI = const_cast<MachineInstr*>(Op.getParent()); MachineInstrBuilder MIB(*OpMI->getParent()->getParent(), OpMI); - - if (Op.isRegMask()) { - // First handle regmasks. They clobber any entries in the mask which - // means that we need a def for those registers. - MIB.addReg(Reg.first, RegState::Implicit | RegState::Undef); - - // We also need to add an implicit def of this register for the later - // use to read from. - // For the register allocator to have allocated a register clobbered - // by the call which is used later, it must be the case that - // the call doesn't return. - MIB.addReg(Reg.first, RegState::Implicit | RegState::Define); - continue; - } assert(Op.isReg() && "Register operand required"); MIB.addReg(Reg.first, RegState::Implicit | RegState::Undef); } |