You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
13
external/llvm/test/CodeGen/Hexagon/bit-extractu-half.ll
vendored
Normal file
13
external/llvm/test/CodeGen/Hexagon/bit-extractu-half.ll
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: llc -march=hexagon < %s | FileCheck %s
|
||||
; Pick lsr (in bit-simplification) for extracting high halfword.
|
||||
; CHECK: lsr{{.*}}#16
|
||||
|
||||
define i32 @foo(i32 %x) #0 {
|
||||
%a = call i32 @llvm.hexagon.S2.extractu(i32 %x, i32 16, i32 16)
|
||||
ret i32 %a
|
||||
}
|
||||
|
||||
declare i32 @llvm.hexagon.S2.extractu(i32, i32, i32) #0
|
||||
|
||||
attributes #0 = { nounwind readnone }
|
||||
|
Reference in New Issue
Block a user