search for: excelion

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

2014 Mar 11
3
[LLVMdev] GlobalValues appear in their own use lists?
..., &GV); + } + Assert1(!GV.hasAppendingLinkage() || isa<GlobalVariable>(GV), "Only global variables can have appending linkage!", &GV); $ cat whatever.ll define i8 @foo() #0 { entry: %call0 = call i8 @bar() ret i8 %call0 } declare i8 @bar() #1 $ /Volumes/Excelion/lldb/llvm-build/Debug+Asserts/x86_64/Debug+Asserts/bin/llc whatever.ll Global values cannot be their own uses! i8 ()* @bar LLVM ERROR: Broken module found, compilation aborted! Sean On Mar 10, 2014, at 3:36 PM, Chris Lattner <clattner at apple.com> wrote: > > On Mar 10, 2014, at 11...
2014 Mar 10
2
[LLVMdev] GlobalValues appear in their own use lists?
In the following IR module: – define i8 @foo() #0 { entry: %call0 = call i8 @bar() ret i8 %call0 } declare i8 @bar() #1 – @bar() gets marked as its own user in top-of-tree LLVM. I patched the Verifier to check it (but didn’t commit the patch): – Index: lib/IR/Verifier.cpp =================================================================== --- lib/IR/Verifier.cpp (revision 203468) +++