You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
13
external/llvm/test/Transforms/Reassociate/min_int.ll
vendored
Normal file
13
external/llvm/test/Transforms/Reassociate/min_int.ll
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: opt < %s -reassociate -dce -S | FileCheck %s
|
||||
|
||||
; MIN_INT cannot be negated during reassociation
|
||||
|
||||
define i32 @minint(i32 %i) {
|
||||
; CHECK: %mul = mul i32 %i, -2147483648
|
||||
; CHECK-NEXT: %add = add i32 %mul, 1
|
||||
; CHECK-NEXT: ret i32 %add
|
||||
%mul = mul i32 %i, -2147483648
|
||||
%add = add i32 %mul, 1
|
||||
ret i32 %add
|
||||
}
|
||||
|
Reference in New Issue
Block a user