Displaying 2 results from an estimated 2 matches for "thinltobug".
2018 Jul 28
2
ThinLTO Bug ?
...-Xin
Commands to reproduce with ToT LLVM:
===============================
~/llvm/build-debug/bin/opt -module-summary -o a.o a.ll
~/llvm/build-debug/bin/opt -module-summary -o b.o b.ll
~/llvm/build-debug/bin/llvm-lto2 run -o c a.o b.o -r a.o,c,px -r
b.o,a,px -r b.o,b,px -r a.o,gv -r b.o,gv
[~/thinltobug]$ cat a.ll
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TA = type {}
@gv = dso_local global %struct.TA * zeroinitializer
define i32 @c() !dbg !6 {
bitcast %struct.TA ** @gv to i8*
unreachable
}...
2018 Jul 30
2
ThinLTO Bug ?
...> > ~/llvm/build-debug/bin/opt -module-summary -o a.o a.ll
> > ~/llvm/build-debug/bin/opt -module-summary -o b.o b.ll
> > ~/llvm/build-debug/bin/llvm-lto2 run -o c a.o b.o -r a.o,c,px -r
> > b.o,a,px -r b.o,b,px -r a.o,gv -r b.o,gv
> >
> >
> >
> > [~/thinltobug]$ cat a.ll
> >
> > target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
> >
> > target triple = "x86_64-unknown-linux-gnu"
> >
> > %struct.TA = type {}
> >
> >
> >
> > @gv = dso_local global %struct.TA * zeroinit...