Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: test/CodeGen/X86/compact-unwind.ll

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/CodeGen/X86/codegen-prepare.ll ('k') | test/CodeGen/X86/vec_compare.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/CodeGen/X86/compact-unwind.ll
diff --git a/test/CodeGen/X86/compact-unwind.ll b/test/CodeGen/X86/compact-unwind.ll
deleted file mode 100644
index 8c4fa27da560c32aa29ef74e454941e730f416d3..0000000000000000000000000000000000000000
--- a/test/CodeGen/X86/compact-unwind.ll
+++ /dev/null
@@ -1,30 +0,0 @@
-; RUN: llc < %s -disable-cfi -disable-fp-elim -mtriple x86_64-apple-darwin11 | FileCheck %s
-
-%ty = type { i8* }
-
-@gv = external global i32
-
-; This is aligning the stack with a push of a random register.
-; CHECK: pushq %rax
-
-; Even though we can't encode %rax into the compact unwind, We still want to be
-; able to generate a compact unwind encoding in this particular case.
-;
-; CHECK: __LD,__compact_unwind
-; CHECK: _foo ## Range Start
-; CHECK: 16842753 ## Compact Unwind Encoding: 0x1010001
-
-define i8* @foo(i64 %size) {
- %addr = alloca i64, align 8
- %tmp20 = load i32* @gv, align 4
- %tmp21 = call i32 @bar()
- %tmp25 = load i64* %addr, align 8
- %tmp26 = inttoptr i64 %tmp25 to %ty*
- %tmp29 = getelementptr inbounds %ty* %tmp26, i64 0, i32 0
- %tmp34 = load i8** %tmp29, align 8
- %tmp35 = getelementptr inbounds i8* %tmp34, i64 %size
- store i8* %tmp35, i8** %tmp29, align 8
- ret i8* null
-}
-
-declare i32 @bar()
« no previous file with comments | « test/CodeGen/X86/codegen-prepare.ll ('k') | test/CodeGen/X86/vec_compare.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698