[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / darwin-no-dead-strip.ll
1 ; RUN: llc < %s | FileCheck %s
2
3 target datalayout = "e-p:32:32"
4 target triple = "i686-apple-darwin8.7.2"
5
6 @x = weak global i32 0
7 ; CHECK: .no_dead_strip _x
8
9 @"\01Ly" = private global i8 0
10 ; CHECK: no_dead_strip Ly
11
12 @llvm.used = appending global [2 x i8*] [ i8* bitcast (i32* @x to i8*),
13             i8* @"\01Ly" ]