llvm.org GIT mirror llvm / release_21 test / CodeGen / Generic / div-neg-power-2.ll
release_21

Tree @release_21 (Download .tar.gz)

div-neg-power-2.ll @release_21raw · history · blame

1
2
3
4
5
6
; RUN: llvm-upgrade < %s | llvm-as | llc

int %test(int %X) {
  %Y = div int %X, -2
  ret int %Y
}