Skip to content

Support for integers larger than 64 bits #10

@rsas

Description

@rsas

According to the comment in value.py

https://github.com/nunoplopes/alive/blob/master/value.py#L289

only integers up to 64 bits are supported. Consequently, I couldn't check for the following optimization that was produced when compiling LLVM:

Name: 1
Pre: Known(%6, false)
%0 = i64 %x1
%1 = and i64 18446744073709551612, %0
%2 = icmp eq i64 0, %1
%3 = i80 %x2
%4 = and i80 302231454903657293676544, %3
%5 = icmp eq i80 0, %4
%6 = or i1 %2, %5
  =>
%2 = false

Are there any fundamental reasons to not support >64 bit integers?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions