1 ; RUN: opt -S -codegenprepare < %s | FileCheck %s
3 target datalayout = "e-i64:64-v16:16-v32:32-n16:32:64"
4 target triple = "nvptx64-nvidia-cuda"
6 ; Check that the smaller-width division that the BypassSlowDivision pass
7 ; creates is not marked as "exact" (that is, it doesn't claim that the
8 ; numerator is a multiple of the denominator).
11 define void @test(i64 %a, i64 %b, i64* %retptr) {
14 store i64 %d, i64* %retptr