You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
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