mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
db43217a24
Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. llvm-svn: 277624
14 lines
447 B
LLVM
14 lines
447 B
LLVM
; RUN: llc -verify-machineinstrs -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
|
|
}
|