xref: /llvm-project/llvm/test/CodeGen/X86/constant-combines.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s | FileCheck %s
3
4target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
5target triple = "x86_64-unknown-unknown"
6
7define void @bitstore_fold() {
8; CHECK-LABEL: bitstore_fold:
9; CHECK:       # %bb.0: # %BB
10; CHECK-NEXT:    movl $-1, 0
11; CHECK-NEXT:    movb $0, 0
12; CHECK-NEXT:    retq
13BB:
14   store i32 -1, ptr null
15   store i1 false, ptr null
16   ret void
17}
18