You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
17
external/llvm/test/CodeGen/X86/pr24602.ll
vendored
17
external/llvm/test/CodeGen/X86/pr24602.ll
vendored
@ -1,17 +0,0 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
|
||||
|
||||
; PR24602: Make sure we don't barf on non-foldable code (with opaque constants).
|
||||
|
||||
; CHECK-LABEL: pr24602:
|
||||
; CHECK-NEXT: # %bb.0
|
||||
; CHECK-NEXT: movabsq $-10000000000, [[CST:%[a-z0-9]+]]
|
||||
; CHECK-NEXT: imulq [[CST]], %rsi
|
||||
; CHECK-NEXT: leaq (%rdi,%rsi,8), %rax
|
||||
; CHECK-NEXT: movq [[CST]], (%rdi,%rsi,8)
|
||||
; CHECK-NEXT: retq
|
||||
define i64* @pr24602(i64* %p, i64 %n) nounwind {
|
||||
%mul = mul nsw i64 %n, -10000000000
|
||||
%add.ptr = getelementptr inbounds i64, i64* %p, i64 %mul
|
||||
store i64 -10000000000, i64* %add.ptr
|
||||
ret i64* %add.ptr
|
||||
}
|
Reference in New Issue
Block a user