// REQUIRES: powerpc-registered-target
// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-cpu pwr7 \
// RUN: -emit-llvm %s -o - | FileCheck %s
// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-cpu pwr8 \
// RUN: -emit-llvm %s -o - | FileCheck %s
// CHECK-LABEL: define{{.*}} signext i32 @test_divwe
int
// CHECK-LABEL: define{{.*}} zeroext i32 @test_divweu
unsigned int
// CHECK-LABEL: define{{.*}} i64 @test_divde
long long
// CHECK-LABEL: define{{.*}} i64 @test_divdeu
unsigned long long
// CHECK-LABEL: define{{.*}} i64 @test_bpermd
long long