<commit_before>; Testcase that seems to break the bytecode reader.  This comes from the
; "crafty" spec benchmark.
;
; RUN: opt < %s -instcombine -S | llvm-as
	
%CHESS_POSITION = type { i32, i32 }
@pawn_probes = external global i32		; <i32*> [#uses=0]
@pawn_hash_mask = external global i32		; <i32*> [#uses=0]
@search = external global %CHESS_POSITION		; <%CHESS_POSITION*> [#uses=2]

define void @Evaluate() {
	%reg1321 = getelementptr %CHESS_POSITION* @search, i64 0, i32 1		; <i32*> [#uses=1]
	%reg114 = load i32* %reg1321		; <i32> [#uses=0]
	%reg1801 = getelementptr %CHESS_POSITION* @search, i64 0, i32 0		; <i32*> [#uses=1]
	%reg182 = load i32* %reg1801		; <i32> [#uses=0]
	ret void
}<commit_msg>Fix this test to test what it was originally intended to test.<commit_after>; Testcase that seems to break the bytecode reader.  This comes from the
; "crafty" spec benchmark.
;
; RUN: opt < %s -instcombine | llvm-dis
	
%CHESS_POSITION = type { i32, i32 }
@pawn_probes = external global i32		; <i32*> [#uses=0]
@pawn_hash_mask = external global i32		; <i32*> [#uses=0]
@search = external global %CHESS_POSITION		; <%CHESS_POSITION*> [#uses=2]

define void @Evaluate() {
	%reg1321 = getelementptr %CHESS_POSITION* @search, i64 0, i32 1		; <i32*> [#uses=1]
	%reg114 = load i32* %reg1321		; <i32> [#uses=0]
	%reg1801 = getelementptr %CHESS_POSITION* @search, i64 0, i32 0		; <i32*> [#uses=1]
	%reg182 = load i32* %reg1801		; <i32> [#uses=0]
	ret void
}
{'fraction_non_alphanumeric': 0.1543762922122674, 'fraction_numerical': 0.08959338387319091, 'mean_word_length': 4.563218390804598, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2129777', 'n_tokens_mistral': 684, 'n_tokens_neox': 592, 'n_words': 172}