Displaying 3 results from an estimated 3 matches for "smallopt".
Did you mean:
mallopt
2016 Dec 19
3
opt -instcombine interesting behavior
...d candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
llvm-as small.ll -o small.bc
opt -instcombine small.bc -o smallOpt.bc
define i32 @main() {
%reg = alloca i32, i32 0
store i32 1, i32* %reg
%1 = getelementptr i32, i32* %reg, i32 0
%2 = bitcast i32* %1 to [4 x i8]*
%3 = getelementptr [4 x i8], [4 x i8]* %2, i32 0, i32 1
store i8 1, i8* %3
%4 = load i32, i32* %reg
ret i32 %4
}
The program in pseud...
2016 Dec 19
0
opt -instcombine interesting behavior
...6_64-linux-gnu/6.0.0
> Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
> Candidate multilib: .;@m64
> Candidate multilib: 32;@m32
> Candidate multilib: x32;@mx32
> Selected multilib: .;@m64
>
>
> llvm-as small.ll -o small.bc
> opt -instcombine small.bc -o smallOpt.bc
>
>
> define i32 @main() {
> %reg = alloca i32, i32 0
> store i32 1, i32* %reg
> %1 = getelementptr i32, i32* %reg, i32 0
> %2 = bitcast i32* %1 to [4 x i8]*
> %3 = getelementptr [4 x i8], [4 x i8]* %2, i32 0, i32 1
> store i8 1, i8* %3
> %4 = load i...
2016 Dec 19
1
opt -instcombine interesting behavior
...ed GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
>> Candidate multilib: .;@m64
>> Candidate multilib: 32;@m32
>> Candidate multilib: x32;@mx32
>> Selected multilib: .;@m64
>>
>>
>> llvm-as small.ll -o small.bc
>> opt -instcombine small.bc -o smallOpt.bc
>>
>>
>> define i32 @main() {
>> %reg = alloca i32, i32 0
>> store i32 1, i32* %reg
>> %1 = getelementptr i32, i32* %reg, i32 0
>> %2 = bitcast i32* %1 to [4 x i8]*
>> %3 = getelementptr [4 x i8], [4 x i8]* %2, i32 0, i32 1
>> store i...