xref: /llvm-project/llvm/test/CodeGen/X86/pr20012.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=i686-unknown-linux-gnu | FileCheck %s --check-prefix=X86
3; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=X64
4
5define void @test () {
6; X86-LABEL: test:
7; X86:       # %bb.0:
8; X86-NEXT:    movb $0, (%eax)
9; X86-NEXT:    retl
10;
11; X64-LABEL: test:
12; X64:       # %bb.0:
13; X64-NEXT:    movb $0, (%rax)
14; X64-NEXT:    retq
15  store <2 x i4> zeroinitializer, ptr undef, align 1
16  ret void
17}
18