1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/CodeGen/X86/i1narrowfail.ll
2020-05-29 23:45:04 -07:00

14 lines
392 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
define void @foo(i64* %ptr) {
; CHECK-LABEL: foo:
; CHECK: ## %bb.0:
; CHECK-NEXT: orb $16, (%rdi)
; CHECK-NEXT: retq
%r11 = load i64, i64* %ptr, align 8
%r12 = or i64 16, %r11
store i64 %r12, i64* %ptr, align 8
ret void
}