HomePhabricator

Merge r231984: Handle big index in getelementptr instruction

Authored by chfast on Apr 29 2015, 7:54 AM.

Description

Merge r231984: Handle big index in getelementptr instruction

CodeGen incorrectly ignores (assert from APInt) constant index bigger
than 2^64 in getelementptr instruction. This is a test and fix for that.

Patch by PaweĊ‚ Bylica!

Reviewed By: rnk

Subscribers: majnemer, rnk, mcrosier, resistor, llvm-commits

Differential Revision: http://reviews.llvm.org/D8219

llvm-svn: 236108

Details