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
16
external/llvm/test/CodeGen/X86/simple-zext.ll
vendored
Normal file
16
external/llvm/test/CodeGen/X86/simple-zext.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin < %s| FileCheck %s
|
||||
|
||||
; A bug in DAGCombiner prevented it forming a zextload in this simple case
|
||||
; because it counted both the chain user and the real user against the
|
||||
; profitability total.
|
||||
|
||||
define void @load_zext(i32* nocapture %p){
|
||||
entry:
|
||||
%0 = load i32, i32* %p, align 4
|
||||
%and = and i32 %0, 255
|
||||
tail call void @use(i32 %and)
|
||||
ret void
|
||||
; CHECK: movzbl ({{%r[a-z]+}}), {{%e[a-z]+}}
|
||||
}
|
||||
|
||||
declare void @use(i32)
|
Reference in New Issue
Block a user