mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-07 19:47:53 +00:00
dfe5efdb2c
Reduced from oss-fuzz #4782 test case llvm-svn: 321464
14 lines
360 B
LLVM
14 lines
360 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=aarch64-unknown-unknown | FileCheck %s
|
|
|
|
define i32 @f(i32 %a0) {
|
|
; CHECK-LABEL: f:
|
|
; CHECK: // %bb.0:
|
|
; CHECK-NEXT: mov w0, wzr
|
|
; CHECK-NEXT: ret
|
|
%1 = lshr i32 %a0, 2147483647
|
|
%2 = add i32 %1, 2147483647
|
|
%3 = and i32 %2, %1
|
|
ret i32 %3
|
|
}
|