search for: disablejumpt

Displaying 2 results from an estimated 2 matches for "disablejumpt".

2010 Feb 26
0
[LLVMdev] ARM (JIT) jump table bug
...llvm svn a few days ago). It triggers assert in MachineOperand::getImm method (isImm() && "Wrong MachineOperand accessor") when the bitcode from the testcase (c code below in this email) is being run. We have found out that we can workaround this problem for now by setting "DisableJumpTables = true" in llvm. Resulting llvm IR code looks fine though, so this is most likely a problem in arm jit code generation. code: int buggy_fun(int* x) __attribute__((noinline)); int buggy_fun(int* x) { switch (*x) { case 0: return *x + 123; case 1: return *x + 456; case 2: ret...
2011 May 06
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
...for llvm::EBCInstrInfoin libLLVMEBCCodeGen.a(EBCInstrInfo.cpp.o) "llvm::NoNaNsFPMath", referenced from: __ZN4llvm12NoNaNsFPMathE$non_lazy_ptr in libLLVMSelectionDAG.a(SelectionDAG.cpp.o) __ZN4llvm12NoNaNsFPMathE$non_lazy_ptr in libLLVMCodeGen.a(Analysis.cpp.o) "llvm::DisableJumpTables", referenced from: __ZN4llvm17DisableJumpTablesE$non_lazy_ptr in libLLVMSelectionDAG.a(SelectionDAGBuilder.cpp.o) "typeinfo for llvm::TargetMachine", referenced from: typeinfo for llvm::LLVMTargetMachinein libLLVMCodeGen.a(LLVMTargetMachine.cpp.o) "llvm::Man...