1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | FileCheck %s
3 ; CHECK: define i32 @foo
5 ; %z = sdiv i32 %y, 337
7 define i32 @foo(i32 %x) {
13 ; CHECK: define i32 @bar
14 ; %y = sdiv i32 %x, -337
16 define i32 @bar(i32 %x) {
17 %y = sub nsw i32 0, %x