summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/reduction_simple_fp.ll
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@codeaurora.org>2014-07-01 20:52:51 +0000
committerJohannes Doerfert <jdoerfert@codeaurora.org>2014-07-01 20:52:51 +0000
commitf618339a37fbfc2a1edeb1f934fe41b73ebb65e3 (patch)
tree97d2e7f0aeb553d6ea2a61ed5361bd2fbdd2a4fe /polly/test/ScopInfo/reduction_simple_fp.ll
parentd905da4a5fd3306eb9cac7262ef800f04badb3da (diff)
downloadbcm5719-llvm-f618339a37fbfc2a1edeb1f934fe41b73ebb65e3.tar.gz
bcm5719-llvm-f618339a37fbfc2a1edeb1f934fe41b73ebb65e3.zip
Introduce reduction types
This change is particularly useful in the code generation as we need to know which binary operator/identity element we need to combine/initialize the privatization locations. + Print the reduction type for each memory access + Adjusted the test cases to comply with the new output format and to test for the right reduction type llvm-svn: 212126
Diffstat (limited to 'polly/test/ScopInfo/reduction_simple_fp.ll')
-rw-r--r--polly/test/ScopInfo/reduction_simple_fp.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/test/ScopInfo/reduction_simple_fp.ll b/polly/test/ScopInfo/reduction_simple_fp.ll
index 83ae7c66a73..41af402be2a 100644
--- a/polly/test/ScopInfo/reduction_simple_fp.ll
+++ b/polly/test/ScopInfo/reduction_simple_fp.ll
@@ -1,9 +1,9 @@
; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
;
; CHECK: Function: f_no_fast_math
-; CHECK: Reduction like: 0
+; CHECK: Reduction Type: NONE
; CHECK: Function: f_fast_math
-; CHECK: Reduction like: 1
+; CHECK: Reduction Type: ADD
;
; void f(float *sum) {
; for (int i = 0; i < 100; i++)
OpenPOWER on IntegriCloud