blob: 7ce7f676add0b92b2b0577e144c7adad5d42ecf2 [file] [log] [blame]
Derek Schuffa403d242013-04-18 17:41:08 +00001; RUN: llc -mtriple=x86_64-none-linux -fast-isel -fast-isel-abort < %s | FileCheck %s
2; RUN: llc -mtriple=i686-none-linux -fast-isel -fast-isel-abort < %s | FileCheck %s
3
4define i32 @test_store_32(i32* nocapture %addr, i32 %value) {
5entry:
6 store i32 %value, i32* %addr, align 1
7 ret i32 %value
8}
9
10; CHECK: ret
11
12define i16 @test_store_16(i16* nocapture %addr, i16 %value) {
13entry:
14 store i16 %value, i16* %addr, align 1
15 ret i16 %value
16}
17
18; CHECK: ret