search for: tobool15

Displaying 3 results from an estimated 3 matches for "tobool15".

2017 Jun 19
2
CloneFunctionInto produces invalid debug info
...adata attachment. > >> (lldb) p OldFunc->dump() >> >> ; Function Attrs: nounwind optsize >> define internal void @f_1.extracted_region(i32, i32*, %struct.t_c*, %struct.t_d*) #0 { >> if.end12.extracted_entry: >> %and14 = and i32 %0, 2, !dbg !89 >> %tobool15 = icmp eq i32 %and14, 0, !dbg !89 >> br i1 %tobool15, label %exit, label %if.then16, !dbg !185 >> >> if.then16: ; preds = %if.end12.extracted_entry >> %4 = load i32, i32* %1, align 4, !dbg !186 >> %or18 = or i32 %4, 2, !dbg !1...
2017 Jun 20
2
CloneFunctionInto produces invalid debug info
...db) p OldFunc->dump() >>> >>> ; Function Attrs: nounwind optsize >>> define internal void @f_1.extracted_region(i32, i32*, %struct.t_c*, >>> %struct.t_d*) #0 { >>> if.end12.extracted_entry: >>> %and14 = and i32 %0, 2, !dbg !89 >>> %tobool15 = icmp eq i32 %and14, 0, !dbg !89 br i1 %tobool15, label >>> %exit, label %if.then16, !dbg !185 >>> >>> if.then16: ; preds = %if.end12.extracted_entry >>> %4 = load i32, i32* %1, align 4, !dbg !186 >>> %or18 = or...
2017 Jun 16
2
CloneFunctionInto produces invalid debug info
The if you are cloning into the same LLVM module the CU should not cloned. If don't mind sharing your code, I can try to help diagnose why the CU gets cloned... just send me a patch that applies to trunk and instructions. -- adrian > On Jun 16, 2017, at 1:54 PM, Sergei Larin <slarin at codeaurora.org> wrote: > > Sorry… It takes a pass that was not accepted for upstreaming….