1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/utils
Matt Arsenault 908ef3f208 TableGen/GlobalISel: Partially fix nontrivial, custom predicates
Currently custom code predicates can only really be used for
contextless checks tied to a single instruction (e.g. check the def
for hasOneUse). If you do want to inspect the input instructions in
the source pattern, you cannot without re-verifying the opcode and
type checks implied by the patterns, since this check was emitted
before any operand constraints. Really, these are pattern level
predicates that implicitly depend on the instruction and operand
checks.

Introduce a filtering function so the custom predicate is emitted
last. I'm not sure this is the most elegant solution. It seems like
this is really a different thing from the InstructionMatcher/IPM_
predicate kinds. I initially tried keeping this in a separate
predicate list, but that also seemed awkward.

This only half fixes the problem I'm trying to solve. The AMDGPU
pattern I'm attempting to port also uses the PredicateCodeUsesOperands
feature to allow checks on the source operands when the input pattern
is commuted. Really the emitter should reject the pattern since it
doesn't handle this case, but at this point it would be more
productive to just implement this.
2020-07-14 14:26:51 -04:00
..
benchmark [RISCV][PowerPC] Fix google/benchmark benchmark::cycleclock::Now 2020-04-18 09:32:19 +01:00
bugpoint
count
crosstool
docker
emacs
FileCheck [FileCheck] Fix up -dump-input* docs 2020-07-10 17:21:01 -04:00
fpcmp
gdb-scripts
git Add a git hook script that can be manually setup to run some checks on every push 2020-06-24 21:13:43 +00:00
gn [gn build] Port dd6faf13d8e 2020-07-14 09:36:07 +00:00
jedit
kate
KillTheDoctor
lint [Support/Utils] As part of using inclusive language within the 2020-06-20 00:15:50 -07:00
lit [lit] Prevent hang when lit sees non-ASCII characters 2020-07-14 18:41:15 +01:00
llvm-build Use configure depends to trigger reconfiguration when LLVMBuild files change 2020-05-26 16:30:20 +01:00
llvm-lit llvm-lit.in: Use a raw string for LLVM_SOURCE_DIR 2020-05-11 19:05:53 -04:00
llvm-locstats [llvm-dwarfdump][Stats] Clean up 2020-05-04 09:35:40 +02:00
LLVMVisualizers Add MSVC natvis visualisation of llvm::Type 2020-05-15 09:38:37 -04:00
Misc
not
PerfectShuffle
release Use maximum compression when packaging release tarballs. 2020-04-15 20:30:26 +02:00
Reviewing
sanitizers
TableGen TableGen/GlobalISel: Partially fix nontrivial, custom predicates 2020-07-14 14:26:51 -04:00
Target/ARM
testgen
textmate
unittest [clang/llvm] As part of using inclusive language within 2020-06-20 16:03:58 -07:00
UpdateTestChecks [UpdateTestChecks] Move more update_test_checks.py logic to common.py 2020-07-08 10:59:28 +01:00
valgrind
vim vim: add bfloat keyword 2020-06-18 17:06:06 +00:00
vscode
yaml-bench
abtest.py
add_argument_names.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check_ninja_deps.py [utils] New script check_ninja_deps.py 2020-07-14 14:54:08 +01:00
check-each-file
chunk-print-before-all.py [Tools] Fixed bug with llvm/utils/chunk-print-before-all.py script. 2020-04-09 22:24:55 +00:00
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 [AIX] Make sure we use export lists for plugins 2020-05-08 14:00:25 -04:00
extract_vplan.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetSourceVersion
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py
llvm-compilers-check
llvm-gisel-cov.py
llvm-native-gxx
llvm.grm
LLVMBuild.txt
llvmdo
llvmgrep
prepare-code-coverage-artifact.py
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 [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py 2020-07-08 11:00:10 +01:00
update_llc_test_checks.py [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py 2020-07-08 11:00:10 +01:00
update_mca_test_checks.py
update_mir_test_checks.py
update_test_checks.py [UpdateTestChecks] Move more update_test_checks.py logic to common.py 2020-07-08 10:59:28 +01:00
UpdateCMakeLists.pl
wciia.py