diff options
author | Pete Cooper <peter_cooper@apple.com> | 2011-11-03 20:47:50 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2011-11-03 20:47:50 +0000 |
commit | 71fccadbed49b555d9582198ee58301494109410 (patch) | |
tree | b884d9c6d81cc918a479911ed3234aa4e63c679c /test | |
parent | 55d6e6777dd213262b327b6093e5a0b72ff6157a (diff) | |
download | external_llvm-71fccadbed49b555d9582198ee58301494109410.zip external_llvm-71fccadbed49b555d9582198ee58301494109410.tar.gz external_llvm-71fccadbed49b555d9582198ee58301494109410.tar.bz2 |
Reverted r143600 - selector reference change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/MachineLICM-HoistSelectorRefs.ll | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/CodeGen/X86/MachineLICM-HoistSelectorRefs.ll b/test/CodeGen/X86/MachineLICM-HoistSelectorRefs.ll deleted file mode 100644 index bb0e0f2..0000000 --- a/test/CodeGen/X86/MachineLICM-HoistSelectorRefs.ll +++ /dev/null @@ -1,30 +0,0 @@ -; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -stats |& grep {1 machine-licm} -; rdar://6027699 - -target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" -target triple = "x86_64-apple-macosx10.7.2" - -; STATS: 1 machine-licm - -@"\01L_OBJC_METH_VAR_NAME_" = internal global [4 x i8] c"foo\00", section "__TEXT,__objc_methname,cstring_literals", align 1 -@"\01L_OBJC_SELECTOR_REFERENCES_" = internal global i8* getelementptr inbounds ([4 x i8]* @"\01L_OBJC_METH_VAR_NAME_", i64 0, i64 0), section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip" -@"\01L_OBJC_IMAGE_INFO" = internal constant [2 x i32] [i32 0, i32 16], section "__DATA, __objc_imageinfo, regular, no_dead_strip" -@llvm.used = appending global [3 x i8*] [i8* getelementptr inbounds ([4 x i8]* @"\01L_OBJC_METH_VAR_NAME_", i32 0, i32 0), i8* bitcast (i8** @"\01L_OBJC_SELECTOR_REFERENCES_" to i8*), i8* bitcast ([2 x i32]* @"\01L_OBJC_IMAGE_INFO" to i8*)], section "llvm.metadata" - -define void @test(i8* %x) uwtable ssp { -entry: - br label %for.body - -for.body: ; preds = %for.body, %entry - %i.01 = phi i32 [ 0, %entry ], [ %inc, %for.body ] - %0 = load i8** @"\01L_OBJC_SELECTOR_REFERENCES_", align 8 - %call = tail call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* %x, i8* %0) - %inc = add i32 %i.01, 1 - %exitcond = icmp eq i32 %inc, 10000 - br i1 %exitcond, label %for.end, label %for.body - -for.end: ; preds = %for.body - ret void -} - -declare i8* @objc_msgSend(i8*, i8*, ...) nonlazybind |