2018-12-15 07:53:06 +08:00
|
|
|
; RUN: not llc < %s -march=nvptx 2>&1 | FileCheck %s
|
2018-12-27 03:12:31 +08:00
|
|
|
; used to panic on failed assertion and now fails with an "Undefined external symbol"
|
2018-12-15 07:53:06 +08:00
|
|
|
|
2018-12-27 03:12:31 +08:00
|
|
|
; CHECK: LLVM ERROR: Undefined external symbol "__umodti3"
|
2018-12-15 07:53:06 +08:00
|
|
|
define hidden i128 @remainder(i128, i128) {
|
|
|
|
%3 = urem i128 %0, %1
|
|
|
|
ret i128 %3
|
|
|
|
}
|