1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
4 define void @foo(ptr %ptr) {
7 ; CHECK-NEXT: orb $16, (%rdi)
9 %r11 = load i64, ptr %ptr, align 8
10 %r12 = or i64 16, %r11
11 store i64 %r12, ptr %ptr, align 8
15 define void @foo_noalign(ptr %ptr) {
16 ; CHECK-LABEL: foo_noalign:
18 ; CHECK-NEXT: orb $16, (%rdi)
20 %r11 = load i64, ptr %ptr, align 1
21 %r12 = or i64 16, %r11
22 store i64 %r12, ptr %ptr, align 1