[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Lauro Ramos Venancio lauro.venancio at gmail.com
Wed May 16 14:16:02 PDT 2007


>
>
>    /// PredicateInstruction - Convert the instruction into a predicated
>    /// instruction.
>    virtual void PredicateInstruction(MachineInstr *MI,
> -                                    std::vector<MachineOperand> &Cond)
> const {
> -    assert(0 && "Target didn't implement PredicateInstruction!");
> -    abort();
> -  }
> +                                    std::vector<MachineOperand> &Cond)
> const;
>


I'm getting a build error because the function PredicateInstruction wasn't
implemented.

Lauro

llvm[2]: Linking Debug executable llc
/home/laurov/llvm/llvm/build/Debug/lib/LLVMIA64.o:(.rodata._ZTVN4llvm13IA64InstrInfoE[vtable
for llvm::IA64InstrInfo]+0x3c): undefined reference to
`llvm::TargetInstrInfo::PredicateInstruction(llvm::MachineInstr*,
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >&)
const'
/home/laurov/llvm/llvm/build/Debug/lib/LLVMAlpha.o:(.rodata._ZTVN4llvm14AlphaInstrInfoE[vtable
for llvm::AlphaInstrInfo]+0x3c): undefined reference to
`llvm::TargetInstrInfo::PredicateInstruction(llvm::MachineInstr*,
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >&)
const'
/home/laurov/llvm/llvm/build/Debug/lib/LLVMPowerPC.o:(.rodata._ZTVN4llvm12PPCInstrInfoE[vtable
for llvm::PPCInstrInfo]+0x3c): undefined reference to
`llvm::TargetInstrInfo::PredicateInstruction(llvm::MachineInstr*,
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >&)
const'
/home/laurov/llvm/llvm/build/Debug/lib/LLVMSparc.o:(.rodata._ZTVN4llvm14SparcInstrInfoE[vtable
for llvm::SparcInstrInfo]+0x3c): undefined reference to
`llvm::TargetInstrInfo::PredicateInstruction(llvm::MachineInstr*,
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >&)
const'
/home/laurov/llvm/llvm/build/Debug/lib/LLVMX86.o:(.rodata._ZTVN4llvm12X86InstrInfoE[vtable
for llvm::X86InstrInfo]+0x3c): undefined reference to
`llvm::TargetInstrInfo::PredicateInstruction(llvm::MachineInstr*,
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >&)
const'
/home/laurov/llvm/llvm/build/Debug/lib/libLLVMTarget.a(TargetInstrInfo.o):(.rodata._ZTVN4llvm15TargetInstrInfoE[vtable
for llvm::TargetInstrInfo]+0x3c): more undefined references to
`llvm::TargetInstrInfo::PredicateInstruction(llvm::MachineInstr*,
std::vector<llvm::MachineOperand, std::allocator<llvm::MachineOperand> >&)
const' follow
collect2: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070516/a619ee6d/attachment.html>


More information about the llvm-commits mailing list