[LLVMdev] Returning i1 type ints from C code ? (original) (raw)
Duncan Sands baldrick at free.fr
Thu Sep 22 01:24:26 PDT 2011
- Previous message: [LLVMdev] Returning i1 type ints from C code ?
- Next message: [LLVMdev] Returning i1 type ints from C code ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Gordon,
I was wondering if there was any way to return an i1 type (or something that llvm would accept as one, internally) from a C function compiled with llvm-gcc.
no, there is no way without modifying llvm-gcc.
Ciao, Duncan.
My thought from searching around was that it might take rewriting (or at least writing a wrapper to %trunc the result) in assembly. I’m fairly new to LLVM so I may have missed something important.
Any thoughts ? Thanks much, Gordon Keiser
LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
- Previous message: [LLVMdev] Returning i1 type ints from C code ?
- Next message: [LLVMdev] Returning i1 type ints from C code ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]