search for: functionloweringinfo

Displaying 20 results from an estimated 43 matches for "functionloweringinfo".

2011 May 17
2
[LLVMdev] "Not all catch info was assigned to a landing pad!"' failed
Hi, My transformation phase inserts an if-the-else construct into a BB. If that BB contains llvm.eh.exception, I get an Assertion at some later point: lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp:212: void llvm::FunctionLoweringInfo::clear(): Assertion `CatchInfoFound.size() == CatchInfoLost.size() && "Not all catch info was assigned to a landing pad!"' failed. Is there some rule that forbids splitting BBs with EH? Or maybe something special needs to be done when...
2011 May 17
0
[LLVMdev] "Not all catch info was assigned to a landing pad!"' failed
Hi Kostya, > My transformation phase inserts an if-the-else construct into a BB. > If that BB contains llvm.eh.exception, I get an Assertion at some later point: > > lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp:212: > void llvm::FunctionLoweringInfo::clear(): Assertion `CatchInfoFound.size() == > CatchInfoLost.size() && "Not all catch info was assigned to a landing pad!"' > failed. > > Is there some rule that forbids splitting BBs with EH? > Or maybe something...
2008 Aug 07
0
[LLVMdev] crash in JIT when running the inliner
Hi, > Today I've been trying to debug a weird bug that makes JIT crash with > certain code and when using the inliner. This may sound weird, but if I > disable the inliner, it doesn't crash. > I include an example gdb dump below. Does something looks wrong? Do you > think it's a bug in JIT or it's just some other piece of code that is > writing on the JIT
2008 Aug 09
1
[LLVMdev] crash in JIT when running the inliner
...ng() (SelectionDAGISel.cpp:496) ==11384== by 0x567683D: llvm::SelectionDAGISel::BuildSelectionDAG(llvm::SelectionDAG&, llvm::BasicBlock*, std::vector<std::pair<llvm::MachineInstr*, unsigned>, std::allocator<std::pair<llvm::MachineInstr*, unsigned> > >&, llvm::FunctionLoweringInfo&) (SelectionDAGISel.cpp:5252) ==11384== by 0x56768C0: llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, llvm::MachineFunction&, llvm::FunctionLoweringInfo&, std::vector<std::pair<llvm::MachineInstr*, unsigned>, std::allocator<std::pair<llvm::MachineInstr*...
2014 May 27
2
[LLVMdev] Compiling MiBench to MIPS
...50 3 libpthread.so.0 0x00007f2d54c26340 4 libc.so.6 0x00007f2d53e62f79 gsignal + 57 5 libc.so.6 0x00007f2d53e66388 abort + 328 6 libc.so.6 0x00007f2d53e5be36 7 libc.so.6 0x00007f2d53e5bee2 8 llc 0x00000000009be707 9 llc 0x0000000000cfed54 llvm::FunctionLoweringInfo::CreateReg(llvm::MVT) + 64 10 llc 0x0000000000cfeebd llvm::FunctionLoweringInfo::CreateRegs(llvm::Type*) + 337 11 llc 0x0000000000cf33fa 12 llc 0x0000000000cfe4cb llvm::FunctionLoweringInfo::set(llvm::Function const&, llvm::MachineFunction&, llvm::Selecti...
2008 Aug 06
2
[LLVMdev] crash in JIT when running the inliner
Hi, Today I've been trying to debug a weird bug that makes JIT crash with certain code and when using the inliner. This may sound weird, but if I disable the inliner, it doesn't crash. I include an example gdb dump below. Does something looks wrong? Do you think it's a bug in JIT or it's just some other piece of code that is writing on the JIT memory?.. I don't really know
2007 Apr 06
3
[LLVMdev] llc assertion failure
...4d] /home/lefever/work/install/bin/llc[0x84edf05] /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)+0x13b)[0x863e7ab] /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0xad)[0x8652ca7] /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x5d2)[0x865449e] /home/lefever/work/install/bin/llc[0x851d559] /home/lefever/work/install/bin/llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13a)[0x8844a7c] /home/lef...
2011 May 07
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
...caInst const&)in libLLVMSelectionDAG.a(SelectionDAGBuilder.cpp.o) (anonymous namespace)::DAGCombiner::SimplifySelectCC(llvm::DebugLoc, llvm::SDValue, llvm::SDValue, llvm::SDValue, llvm::SDValue, llvm::ISD::CondCode, bool) in libLLVMSelectionDAG.a(DAGCombiner.cpp.o) llvm::FunctionLoweringInfo::set(llvm::Function const&, llvm::MachineFunction&)in libLLVMSelectionDAG.a(FunctionLoweringInfo.cpp.o) llvm::ComputeMaskedBits(llvm::Value*, llvm::APInt const&, llvm::APInt&, llvm::APInt&, llvm::TargetData const*, unsigned int)in libLLVMAnalysis.a(ValueTracking.cpp.o)...
2010 Jun 10
4
[LLVMdev] Assertion failure in llc when using exception handling
Hi, I'm trying to compile an llvm program which makes use of exception handling. While compiling the code with llc i get the following assertion failure llc: FunctionLoweringInfo.cpp:163: void llvm::FunctionLoweringInfo::clear(): Assertion `CatchInfoFound.size() == CatchInfoLost.size() && "Not all catch info was assigned to a landing pad!"' failed. 0 llc 0x0000000000d5d23f 1 llc 0x0000000000d5f026 2 libpthread.so.0 0x00007f47...
2007 Apr 06
0
[LLVMdev] llc assertion failure
...er/work/install/bin/llc[0x84edf05] > /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)+0x13b)[0x863e7ab] > /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, > llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0xad)[0x8652ca7] > /home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x5d2)[0x865449e] > /home/lefever/work/install/bin/llc[0x851d559] > /home/lefever/work/install/bin/llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13a)[0x884...
2011 Sep 15
1
[LLVMdev] Can llvm support a target backend without function call ?
...:getTypeAllocSize(llvm::Type const*) const + 37 6 llc 0x08a707ed llvm::GetReturnInfo(llvm::Type const*, unsigned int, llvm::SmallVectorImpl<llvm::ISD::OutputArg>&, llvm::TargetLowering const&, llvm::SmallVectorImpl<unsigned long long>*) + 573 7 llc 0x089b59be llvm::FunctionLoweringInfo::set(llvm::Function const&, llvm::MachineFunction&) + 156 8 llc 0x08a4ec8a llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 280 9 llc 0x08b7c191 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 89 10 llc 0x08eb92f1 llvm::FPPassMan...
2007 Apr 06
2
[LLVMdev] llc assertion failure
...nstall/bin/llc[0x84edf05] >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)+0x13b)[0x863e7ab] >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, >>llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0xad)[0x8652ca7] >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x5d2)[0x865449e] >>/home/lefever/work/install/bin/llc[0x851d559] >>/home/lefever/work/install/bin/llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x1...
2006 Dec 19
3
[LLVMdev] alias-aware scheduling
...d the Value for a switch case, and the @@ -412,6 +421,7 @@ // implemented with a libcall, etc. TargetLowering &TLI; SelectionDAG &DAG; + AliasAnalysis &AA; const TargetData *TD; /// SwitchCases - Vector of CaseBlock structures used to communicate @@ -424,8 +434,9 @@ FunctionLoweringInfo &FuncInfo; SelectionDAGLowering(SelectionDAG &dag, TargetLowering &tli, + AliasAnalysis &aa, FunctionLoweringInfo &funcinfo) - : TLI(tli), DAG(dag), TD(DAG.getTarget().getTargetData()), + : TLI(tli), DAG(dag), AA(aa), TD(D...
2012 Dec 06
0
[LLVMdev] [PATCH] Replacing EVT:s with MVT:s (when possible)
....h.hagglund at ericsson.com> Date: Tue Dec 4 10:37:37 2012 +0100 Change TargetLowering::getRegClassFor to take an MVT, instead of EVT. Accordingly, added helper funtions getSimpleValueType (in parallel to getValueType) in SDValue, SDNode, and TargetLowering. include/llvm/CodeGen/FunctionLoweringInfo.h | 2 +- include/llvm/CodeGen/SelectionDAGNodes.h | 11 ++++ include/llvm/Target/TargetLowering.h | 11 ++-- lib/CodeGen/SelectionDAG/FastISel.cpp | 11 ++-- lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 4 +- lib/CodeGen/SelectionDAG/InstrEmitter.cp...
2007 Apr 06
0
[LLVMdev] llc assertion failure
...0x84edf05] > >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)+0x13b)[0x863e7ab] > >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, > >>llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0xad)[0x8652ca7] > >>/home/lefever/work/install/bin/llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x5d2)[0x865449e] > >>/home/lefever/work/install/bin/llc[0x851d559] > >>/home/lefever/work/install/bin/llc(llvm::FPPassManager::runOnFunction(llvm::Fun...
2006 Nov 17
2
[LLVMdev] FP emulation (continued)
...but I still have some troubles with that. In my understanding, the code in TargetLowering.cpp and also in SelectioNDAGISel.cpp should be altered. I tried for example to modify the computeRegisterProperties to tell that f64 is actually represented as 2xi32. I also added some code into the function FunctionLoweringInfo::CreateRegForValue for allocating this pair of i32 regs for f64 values. But it does not seem to help. >From what I can see, the problem is that emitNode() still looks at the machine instruction descriptions. And since I still have some insns for load and stores of f64 values (do I still need to...
2007 Oct 18
1
[LLVMdev] Thread-local storage on x86-64
...gnal+0x35)[0x2b6da40a5c45] /lib/libc.so.6(abort+0x110)[0x2b6da40a75c0] llc[0x73c0a5] llc[0x65154e] llc[0x654639] llc(llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)+0xa2) [0x7bf9c2] llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0xfb)[0x7e756b] llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x241)[0x7e9ba1] llc[0x694663] llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x1ef)[0x9b71af] llc(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0x72)[0x9b7692] llc(llvm::FunctionPassManager:...
2006 Nov 20
0
[LLVMdev] FP emulation (continued)
...computeRegisterProperties to tell that f64 is actually represented > as 2xi32. Good, this is the first step. Your goal is to get TLI.getTypeAction(MVT::f64) to return 'expand' and to get TLI.getTypeToTransformTo(f64) to return i32. > I also added some code into the function > FunctionLoweringInfo::CreateRegForValue for allocating this pair of i32 > regs for f64 values. But it does not seem to help. Ok. > From what I can see, the problem is that emitNode() still looks at the > machine instruction descriptions. And since I still have some insns for > load and stores of f64 value...
2013 Jun 25
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...tils/Local.cpp Index: lib/Transforms/Instrumentation/GCOVProfiling.cpp Index: lib/Transforms/IPO/StripSymbols.cpp Index: lib/Transforms/IPO/DeadArgumentElimination.cpp Index: lib/CodeGen/SelectionDAG/FastISel.cpp Index: lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp Index: lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp Index: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Index: lib/CodeGen/MachineInstr.cpp Index: lib/IR/AsmWriter.cpp A sample patch which catches all uses of Verify outside Dwarfxxx.cpp DebugInfo.cpp DIBuilder.cpp: We are calling Verify to make sure a MDNode is indeed a specific DI node....
2010 Jan 22
0
[LLVMdev] Exception handling question
2010/1/22 Garrison Venn <gvenn.cfe.dev at gmail.com> > Yes. The issue here, as you pointed out, is that your personality function > is not called at all. > Even if you did nothing in the personality function, associated with the > setup caused by > llvm.eh.selector, but returned _URC_CONTINUE_UNWIND (8), it should still be > called. > Your results are acting like either