You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
15
external/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll
vendored
Normal file
15
external/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||||
|
||||
define i32 @test1(i8 %X) {
|
||||
; CHECK-LABEL: @test1(
|
||||
; CHECK-NEXT: [[TMP1:%.*]] = and i8 %X, 8
|
||||
; CHECK-NEXT: [[Z:%.*]] = zext i8 [[TMP1]] to i32
|
||||
; CHECK-NEXT: ret i32 [[Z]]
|
||||
;
|
||||
%Y = zext i8 %X to i32
|
||||
%Z = and i32 %Y, 65544
|
||||
ret i32 %Z
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user