Skip to content

Port chriswailes changes from jvoorhis/ruby-llvm#5 #10

Closed
jvoorhis opened this Issue Jan 15, 2013 · 6 comments

2 participants

@jvoorhis
ruby-llvm member

Chris Wailes had some very good changes which were unfortunately difficult to merge, especially after changing our strategy for managing LLVM bindings to ffi_gen. The pull request is at jvoorhis/ruby-llvm#5 and includes:

  • Support for non-x86 targets (if available)
  • Support for additional passes
  • Support for additional instructions
  • Support for additional constant operations
@jvoorhis
ruby-llvm member

This pull request is somewhat old now, but much of it is still relevant. As a project maintainer, I am disappointed that I wasn't able to include these changes sooner, and I'm hoping the new organization will help the community address this problem!

@whitequark
ruby-llvm member
@whitequark
ruby-llvm member

A lot of changes in this pull request were obsoleted by changes in either ruby-llvm or llvm itself. For the interested parties, the ones still relevant are chriswailes/ruby-llvm@253e11f chriswailes/ruby-llvm@684ba49 and chriswailes/ruby-llvm@ffe92cf

@jvoorhis
ruby-llvm member
@whitequark
ruby-llvm member

Closed by #16.

@jvoorhis jvoorhis added a commit that referenced this issue Jan 22, 2013
@jvoorhis jvoorhis Merge ruby-llvm/ruby-llvm#16
Added fixes for scalar transform symbol names.

Squashed commit of the following:

commit 92321f5
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Tue Jan 22 00:48:58 2013 +0400

    Add constant int_to_ptr and ptr_to_int.

commit ed0389f
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 15:11:22 2013 +0400

    Reword the JIT passage in readme.

commit 1a61cf7
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 14:56:10 2013 +0400

    Add missing nsw/nuw instructions (ruby-llvm/ruby-llvm#10).

commit 969a044
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 14:46:03 2013 +0400

    Add missing arithmetic operations on constants (ruby-llvm/ruby-llvm#10).

commit e69d2db
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 14:31:46 2013 +0400

    Add missing indirectbr instruction (ruby-llvm/ruby-llvm#10).

commit 2a7b342
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 13:59:42 2013 +0400

    Add missing scalar and IPO passes (ruby-llvm/ruby-llvm#10).

commit e619a83
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 13:18:44 2013 +0400

    Remove stray comment.

commit 6dcebc1
Author: Peter Zotov <whitequark@whitequark.org>
Date:   Mon Jan 21 13:17:54 2013 +0400

    Fix LLVM.with_message_output.

    One should first check for the return value, which is consistently
    LLVMBool with True indicating an error, and only then try to fetch
    the message.
6772b4d
@whitequark
ruby-llvm member

@jvoorhis you can close this issue

@whitequark whitequark closed this May 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.