aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll')
-rw-r--r--test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll b/test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll
new file mode 100644
index 000000000000..b22a391ef358
--- /dev/null
+++ b/test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll
@@ -0,0 +1,6 @@
+; RUN: llc -fast-isel -march=x86 < %s | grep %fs:
+
+define i32 @test1(i32 addrspace(257)* %arg) nounwind {
+ %tmp = load i32 addrspace(257)* %arg
+ ret i32 %tmp
+}