As Dan pointed out, movzbl, movsbl, and friends are nicer than their alias
[oota-llvm.git] / test / CodeGen / X86 / pr1505b.ll
index db1f1ce181dccd4b85cf1681cc3da6b41c5e0c9b..6a08dae51f8ae8d99acfaf33fea1486949208e4a 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -mcpu=i486 | grep fstpl | count 4
-; RUN: llvm-as < %s | llc -mcpu=i486 | grep fstps | count 3
+; RUN: llc < %s -mcpu=i486 | grep fstpl | count 5
+; RUN: llc < %s -mcpu=i486 | grep fstps | count 2
+; PR1505
 
-; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"
        %"struct.std::basic_ios<char,std::char_traits<char> >" = type { %"struct.std::ios_base", %"struct.std::basic_ostream<char,std::char_traits<char> >"*, i8, i8, %"struct.std::basic_streambuf<char,std::char_traits<char> >"*, %"struct.std::ctype<char>"*, %"struct.std::num_get<char,std::istreambuf_iterator<char, std::char_traits<char> > >"*, %"struct.std::num_get<char,std::istreambuf_iterator<char, std::char_traits<char> > >"* }
@@ -23,20 +23,6 @@ target triple = "i686-apple-darwin8"
 @_ZSt4cout = external global %"struct.std::basic_ostream<char,std::char_traits<char> >"                ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=2]
 @.str = internal constant [12 x i8] c"tan float: \00"          ; <[12 x i8]*> [#uses=1]
 @.str1 = internal constant [13 x i8] c"tan double: \00"                ; <[13 x i8]*> [#uses=1]
-@llvm.global_ctors = appending global [1 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @_GLOBAL__I_a } ]              ; <[1 x { i32, void ()* }]*> [#uses=0]
-
-define internal void @_GLOBAL__I_a() section "__TEXT,__StaticInit,regular,pure_instructions" {
-entry:
-       tail call void @_ZNSt8ios_base4InitC1Ev( %"struct.std::ctype_base"* @_ZSt8__ioinit )
-       %tmp10.i = tail call i32 @__cxa_atexit( void (i8*)* @__tcf_0, i8* null, i8* bitcast (i8** @__dso_handle to i8*) )               ; <i32> [#uses=0]
-       ret void
-}
-
-define internal void @__tcf_0(i8* %unnamed_arg) {
-entry:
-       tail call void @_ZNSt8ios_base4InitD1Ev( %"struct.std::ctype_base"* @_ZSt8__ioinit )
-       ret void
-}
 
 declare void @_ZNSt8ios_base4InitD1Ev(%"struct.std::ctype_base"*)