Displaying 4 results from an estimated 4 matches for "jhereg".
2012 Feb 06
0
[LLVMdev] misc questions on opt and bitcode
Works for me:
[jhereg:~/tmp] echristo% /Volumes/Data/builds/build-llvm/Debug+Asserts/bin/clang -S -emit-llvm foo.cpp
[jhereg:~/tmp] echristo% lli foo.s
testing
[jhereg:~/tmp] echristo% llvm-gcc -S -emit-llvm foo.cpp
[jhereg:~/tmp] echristo% lli foo.s
testing
the first is using top of tree clang. The second is using an...
2012 Feb 06
2
[LLVMdev] misc questions on opt and bitcode
Hi Eric,
Here's the C code (example.c):
include <stdio.h>
int main()
{
printf("testing\n");
}
Here's the LLVM IR (from llvm-gcc):
ModuleID = 'example.c'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple =
2012 Feb 06
0
[LLVMdev] misc questions on opt and bitcode
On Feb 5, 2012, at 11:32 AM, Arpan Sen wrote:
> For the very simple example below, I get Unknown instruction error from lli and llvm-dis, while llc does not print anything. Not sure what is that I am missing here. My llvm-gcc version is i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
> 1-39-155-188:pastebin Babai$ llvm-gcc example.c
2018 Jan 31
1
Using PGO and -O3
Maybe we should update the documentation to state this directly?
Currently its a little bit confusing.
On 01/29/2018 05:51 AM, Xinliang David Li wrote:
> It means using PGO with -O2 and above (including -O3).
>
> David
>
> On Sun, Jan 28, 2018 at 6:48 PM, Victor Leschuk via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
>