mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
7f40dea2f1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48530 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
223 B
LLVM
11 lines
223 B
LLVM
; The reassociate pass is not preserving dominance properties correctly
|
|
;
|
|
; RUN: llvm-as < %s | opt -reassociate
|
|
|
|
define i32 @compute_dist(i32 %i, i32 %j) {
|
|
%reg119 = sub i32 %j, %i ; <i32> [#uses=1]
|
|
ret i32 %reg119
|
|
}
|
|
|
|
|