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/CodeGen/PowerPC/fold-li.ll
vendored
Normal file
15
external/llvm/test/CodeGen/PowerPC/fold-li.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
|
||||
; RUN: grep -v align | not grep li
|
||||
|
||||
;; Test that immediates are folded into these instructions correctly.
|
||||
|
||||
define i32 @ADD(i32 %X) nounwind {
|
||||
%Y = add i32 %X, 65537 ; <i32> [#uses=1]
|
||||
ret i32 %Y
|
||||
}
|
||||
|
||||
define i32 @SUB(i32 %X) nounwind {
|
||||
%Y = sub i32 %X, 65537 ; <i32> [#uses=1]
|
||||
ret i32 %Y
|
||||
}
|
||||
|
Reference in New Issue
Block a user