summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/parallel_codegen.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2015-09-10 10:34:34 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2015-09-10 10:34:34 +0000
commitdf9ce8408a2ca784856032f0a2e32022430e5fec (patch)
treecff626959ed38008a0986ffa3ba0101148c0d214 /clang/test/OpenMP/parallel_codegen.cpp
parentd47634d78123c998dd2ae58dbf5ec29ee832b0b4 (diff)
downloadbcm5719-llvm-df9ce8408a2ca784856032f0a2e32022430e5fec.tar.gz
bcm5719-llvm-df9ce8408a2ca784856032f0a2e32022430e5fec.zip
[DAGCombine] Truncate BUILD_VECTOR operators if necessary when constant folding vectors
Summary: The BUILD_VECTOR node will truncate its operators to match the type. We need to take this into account when constant folding - we need to perform a truncation before constant folding the elements. This is because the upper bits can change the result, depending on the operation type (for example this is the case for min/max). This change also adds a regression test. Reviewers: jmolloy Subscribers: jmolloy, llvm-commits Differential Revision: http://reviews.llvm.org/D12697 llvm-svn: 247265
Diffstat (limited to 'clang/test/OpenMP/parallel_codegen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud