Changeset View
Changeset View
Standalone View
Standalone View
test/GPGPU/invalid-kernel-assert-verifymodule.ll
; RUN: opt %loadPolly -polly-codegen-ppcg -polly-acc-fail-on-verify-module-failure \ | ; RUN: opt %loadPolly -polly-codegen-ppcg -polly-acc-fail-on-verify-module-failure \ | ||||
; RUN: -disable-output < %s | ; RUN: -disable-output < %s | ||||
; Make sure that if -polly-acc-fail-on-verify-module-failure is on, we actually | ; Make sure that if -polly-acc-fail-on-verify-module-failure is on, we actually | ||||
; fail on an illegal module. | ; fail on an illegal module. | ||||
; REQUIRES: pollyacc | ; REQUIRES: pollyacc, asserts | ||||
; XFAIL: * | ; XFAIL: * | ||||
; | ; | ||||
; void foo(long A[1024], long B[1024]) { | ; void foo(long A[1024], long B[1024]) { | ||||
; for (long i = 0; i < 1024; i++) | ; for (long i = 0; i < 1024; i++) | ||||
; A[i] += (B[i] + (long)&B[i]); | ; A[i] += (B[i] + (long)&B[i]); | ||||
; } | ; } | ||||
Show All 32 Lines |