search for: handler2

Displaying 1 result from an estimated 1 matches for "handler2".

Did you mean: handler
2007 Jul 09
2
[LLVMdev] AsmParser fails
...llvm-gcc -O0 -S --emit-llvm -o system2.ll system2.c) to translate the following small example into LLVM assembly language: int common_func1() { return 5; } int common_func2(int a) { return a + 5; } void Handler1() { int e = 4; int f = common_func1(); int ret = common_func2(e); } void Handler2() { int ret = common_func2(common_func1() + 3 - 2 * 5); } - this yields the following LLVM assembly listing: ; ModuleID = 'system2.c' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64" target triple...