Displaying 6 results from an estimated 6 matches for "markleon".
Did you mean:
markleone
2008 Jun 03
2
[LLVMdev] Truncate float to int?
Newbie question here: what's the best way to truncate a float to a
signed int? The fptosi instruction rounds, and the fptrunc
instruction simply truncates from a large float type to a smaller
float type.
Mark
2008 Jun 03
0
[LLVMdev] Truncate float to int?
On Tue, Jun 3, 2008 at 11:32 AM, Mark Leone <markleone at gmail.com> wrote:
> Newbie question here: what's the best way to truncate a float to a
> signed int? The fptosi instruction rounds, and the fptrunc
> instruction simply truncates from a large float type to a smaller
> float type.
fptosi is equivalent to a C cast from float...
2008 Jul 24
1
[LLVMdev] Irreducible CFG from tail duplication
...ret void
continue.i3: ; preds = %foo.exit, %then.i
br label %foo.exit4
foo.exit4: ; preds = %continue.i3
ret void
}
On Thu, Jul 24, 2008 at 3:38 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Thu, Jul 24, 2008 at 2:00 PM, Mark Leone <markleone at gmail.com> wrote:
>> Is irreducibility a problem for existing LLVM passes?
>
> There aren't any LLVM passes that expect a reducible CFG at the
> moment; of course, some passes are more effective with reducible CFGs.
>
>> It looks like
>> there was once an op...
2008 Jul 24
0
[LLVMdev] Irreducible CFG from tail duplication
On Thu, Jul 24, 2008 at 2:00 PM, Mark Leone <markleone at gmail.com> wrote:
> Is irreducibility a problem for existing LLVM passes?
There aren't any LLVM passes that expect a reducible CFG at the
moment; of course, some passes are more effective with reducible CFGs.
> It looks like
> there was once an open project for a pass to make...
2008 Jul 24
3
[LLVMdev] Irreducible CFG from tail duplication
It seems that tail duplication can make a reducible CFG irreducible
(example below). Is that intentional? Are there other optimizations
that have that property?
Is irreducibility a problem for existing LLVM passes? It looks like
there was once an open project for a pass to make irreducible graphs
reducible. Was that ever implemented?
- Mark
; "opt -inline -tailduplicate" makes an
2009 Jan 08
1
[LLVMdev] Integer typedefs for MSVC
LLVM's typedefs for int32_t etc. under MSVC (in Support/DataTypes.h)
conflict with those used by other third-party libraries. Instead of these:
#ifdef _MSC_VER
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;