279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
11 lines
255 B
LLVM
11 lines
255 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
|
|
|
|
; CHECK-LABEL: @foo
|
|
; CHECK: orb $16
|
|
define void @foo(i64* %ptr) {
|
|
%r11 = load i64, i64* %ptr, align 8
|
|
%r12 = or i64 16, %r11
|
|
store i64 %r12, i64* %ptr, align 8
|
|
ret void
|
|
}
|