1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/utils
Sander de Smalen 5f91239343 Improve reduction intrinsics by overloading result value.
This patch uses the mechanism from D62995 to strengthen the
definitions of the reduction intrinsics by letting the scalar
result/accumulator type be overloaded from the vector element type.

For example:

  ; The LLVM LangRef specifies that the scalar result must equal the
  ; vector element type, but this is not checked/enforced by LLVM.
  declare i32 @llvm.experimental.vector.reduce.or.i32.v4i32(<4 x i32> %a)

This patch changes that into:

  declare i32 @llvm.experimental.vector.reduce.or.v4i32(<4 x i32> %a)

Which has the type-constraint more explicit and causes LLVM to check
the result type with the vector element type.

Reviewers: RKSimon, arsenm, rnk, greened, aemerson

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D62996

llvm-svn: 363240
2019-06-13 09:37:38 +00:00
..
benchmark
bugpoint
count
crosstool
docker
emacs
FileCheck FileCheck: Improve FileCheck variable terminology 2019-05-23 00:10:14 +00:00
fpcmp
gdb-scripts Fix GDB pretty printer for Optional after r354246 2019-05-28 20:22:16 +00:00
git
git-svn [git] Be more specific when looking for llvm-svn 2019-05-23 18:43:19 +00:00
gn gn build: Add SystemZ target 2019-06-12 14:24:43 +00:00
jedit
kate [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
KillTheDoctor
lint
lit Fix string literals to avoid deprecation warnings in regexp patterns 2019-06-07 21:14:33 +00:00
llvm-build
llvm-lit
LLVMVisualizers Visualizer for APInt and remove obsolete visualizer 2019-06-08 00:23:08 +00:00
Misc
not
PerfectShuffle
release
Reviewing
sanitizers
TableGen Improve reduction intrinsics by overloading result value. 2019-06-13 09:37:38 +00:00
Target/ARM
testgen
textmate
unittest Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
UpdateTestChecks UpdateTestChecks: hexagon support 2019-06-05 14:08:01 +00:00
valgrind
vim
vscode
yaml-bench
abtest.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check-each-file
clang-parse-diagnostics-file
codegen-diff
collect_and_build_with_pgo.py
countloc.sh
create_ladder_graph.py
demangle_tree.py
DSAclean.py
DSAextract.py
extract_symbols.py
extract_vplan.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py [utils] Add a lldb data formatter for llvm::SmallString. 2019-04-25 00:03:02 +00:00
llvm-compilers-check
llvm-gisel-cov.py
llvm-native-gxx
llvm.grm
LLVMBuild.txt
llvmdo
llvmgrep
prepare-code-coverage-artifact.py svn propset svn:executable on utils/prepare-code-coverage-artifact.py 2019-06-04 23:35:07 +00:00
schedcover.py
shuffle_fuzz.py
shuffle_select_fuzz_tester.py
sort_includes.py
unicode-case-fold.py
update_analyze_test_checks.py
update_cc_test_checks.py
update_llc_test_checks.py UpdateTestChecks: fix AMDGPU handling 2019-05-18 13:00:03 +00:00
update_mca_test_checks.py
update_mir_test_checks.py
update_test_checks.py [utils] update_test_checks.py: allow opt-8, opt-9 2019-05-12 04:55:09 +00:00
UpdateCMakeLists.pl
wciia.py