mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
29ec7479a1
This should hopefully fix build bots on other architectures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214721 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
425 B
LLVM
14 lines
425 B
LLVM
; RUN: llc -mcpu=pwr6 -mattr=+altivec < %s
|
|
|
|
target datalayout = "e-m:e-i64:64-n32:64"
|
|
target triple = "powerpc64le-unknown-linux-gnu"
|
|
|
|
; Common code used to replace the urem by a mulhu, and compilation would
|
|
; then crash since mulhu isn't supported on vector types.
|
|
|
|
define <4 x i32> @test(<4 x i32> %x) {
|
|
entry:
|
|
%0 = urem <4 x i32> %x, <i32 2147483647, i32 2147483647, i32 2147483647, i32 2147483647>
|
|
ret <4 x i32> %0
|
|
}
|