llvm-project/llvm/utils
Kai Nacke 34a809591b [GISel] TreeMatcher: always skip leaves if they don't care
In `GIMatchTreeOpcodePartitioner::applyForPartition()`, the loop over
the possible leaves skip a leaf if the instruction does not care
about the instruction.
When processing the referenced operands in the next loop the same
leaves need to be skipped.

Later, when these leaves are added to all partitions, the bit vector
must be resized first before the bit representing the leaf is set.

This fixes a crash in llvm-tblgen.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D134192
2022-09-20 20:55:02 +00:00
..
FileCheck [llvm] Remove unneeded cl::ZeroOrMore for cl::opt options. NFC 2022-06-03 21:59:05 -07:00
KillTheDoctor [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
LLVMVisualizers [Visualizers] Fix SmallVector<T> visualizer for T inside an anonymous namespace. Use `value_type` instead of `$T1`. 2022-01-26 15:59:43 +01:00
Misc
PerfectShuffle [AArch64] Teach perfect shuffles tables about D-lane movs 2022-05-17 18:16:45 +01:00
Reviewing [llvm][fix] Inclusive language: replace master with main in find_interesting_reviews.py 2021-11-15 14:06:30 -06:00
TableGen [GISel] TreeMatcher: always skip leaves if they don't care 2022-09-20 20:55:02 +00:00
Target/ARM
UnicodeData [llvm] Use llvm::find_if (NFC) 2022-08-28 10:41:48 -07:00
UpdateTestChecks [ARM64EC 3/?] Mark reserved registers specific to ARM64EC ABI. 2022-09-05 12:59:39 -07:00
bugpoint
count
crosstool
docker [utils] Use git to checkout code instead of svn in building docker image 2022-04-15 01:41:14 +00:00
emacs [SanitizerBounds] Add support for NoSanitizeBounds function 2022-03-01 18:47:02 +01:00
fpcmp
gdb-scripts Update Optional gdb pretty printer for 556bcc7821 2022-07-12 01:12:33 +00:00
git [llvm] Fix comment typos (NFC) 2022-08-07 00:16:14 -07:00
gn [gn build] Port 00798e5006 2022-09-20 17:07:57 +00:00
jedit
kate
lint
lit Revert "[clang][test] Disallow using the default module cache path in lit tests" 2022-09-12 13:10:22 -07:00
llvm-lit
llvm-locstats [llvm-locstats] Report a warning if overflow was detected by llvm-dwarfdump 2021-10-27 14:35:29 +02:00
not
phabricator [llvm][docs] commit phabricator patch 2022-07-11 12:33:57 -07:00
reduce_pipeline_test Fix a typo (occured => occurred) 2022-02-08 21:35:26 +01:00
release [docs] Fix build-docs.sh 2022-09-19 21:45:12 +02:00
rsp_bisect_test Add script to bisect over files in an rsp file 2021-08-02 10:17:13 -07:00
sanitizers [llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions.cmake but use old option name 2021-11-25 10:23:14 -05:00
split-file [llvm][CMake] Move `split-file` from tools to utils 2022-08-12 14:16:48 +02:00
testgen
textmate [TableGen] Add a new json textmate description for syntax highlighting 2022-05-13 13:04:09 -07:00
unittest [GTest] Change detection of libpthread 2022-08-22 13:05:40 -05:00
valgrind
vim [SanitizerBounds] Add support for NoSanitizeBounds function 2022-03-01 18:47:02 +01:00
vscode [SanitizerBounds] Add support for NoSanitizeBounds function 2022-03-01 18:47:02 +01:00
yaml-bench utils: Remove some no-op raw_string_ostream flush calls, NFC 2021-12-10 11:26:08 -08:00
DSAclean.py
DSAextract.py
GenLibDeps.pl
GetSourceVersion
UpdateCMakeLists.pl
abtest.py abtest.py: support bisection based on a response file 2021-04-08 09:46:01 -07:00
add_argument_names.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check-each-file
check_ninja_deps.py
chunk-print-before-all.py
clang-parse-diagnostics-file
codegen-diff
collect_and_build_with_pgo.py [pgo] Fix doc typo: thingswith -> things with 2022-05-17 12:58:23 +00:00
convert-constraint-log-to-z3.py
countloc.sh
create_ladder_graph.py
demangle_tree.py
extract-section.py [Utils][LoongArch](5/6) Add a --bits-endian option to extract-section.py 2022-02-10 10:23:34 +00:00
extract_symbols.py [extract_symbols.py] Fix line-splitting of tool output. 2022-01-12 09:06:56 +00:00
extract_vplan.py
findmisopt
findoptdiff
findsym.pl
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py [llvm][utils] Make lldb data formatters show both summaries and children 2022-08-22 18:08:53 -07:00
llvm-compilers-check
llvm-gisel-cov.py
llvm-mca-compare.py [llvm-mca] Plot as result of comparing multiple files 2022-01-28 13:04:52 +01:00
llvm-native-gxx
llvm-original-di-preservation.py Recommit: "[Debugify][Original DI] Test dbg var loc preservation"" 2021-05-21 02:04:29 -07:00
llvm.grm [SanitizerBounds] Add support for NoSanitizeBounds function 2022-03-01 18:47:02 +01:00
llvmdo
llvmgrep
merge-stats.py
pipeline.py [NPM] Automatic 'opt' pipeline reducer script. 2021-10-06 09:09:33 +02:00
prepare-code-coverage-artifact.py [Utils] Add -compilation-dir flag to prepare-code-coverage-artifact.py 2021-07-20 10:55:49 -07:00
reduce_pipeline.py [NPM] Fix bug in llvm/utils/reduce_pipeline.py 2021-11-05 08:41:39 +01:00
remote-exec.py
revert_checker.py [Utils] Add URL formatting for revert_checker 2022-03-30 17:30:25 -07:00
revert_checker_test.py llvm/utils: guarantee revert_checker's revert ordering 2021-07-28 00:51:05 +00:00
rsp_bisect.py Add script to bisect over files in an rsp file 2021-08-02 10:17:13 -07:00
schedcover.py
shuffle_fuzz.py
shuffle_select_fuzz_tester.py
sort_includes.py
sysroot.py [Windows build] Use "DIA SDK" in sysroot 2021-09-14 08:59:28 -04:00
unicode-case-fold.py
update_analyze_test_checks.py update-test-checks: safely handle tests with #if's 2022-07-20 11:23:49 +02:00
update_cc_test_checks.py Revert "[Utils] Refactor update_cc_test_checks.py to use shutil" 2022-09-20 16:50:18 +01:00
update_llc_test_checks.py update-test-checks: safely handle tests with #if's 2022-07-20 11:23:49 +02:00
update_mca_test_checks.py
update_mir_test_checks.py update_mir_test_checks: Better handling of common prefixes 2022-06-01 15:53:32 -05:00
update_test_checks.py update-test-checks: safely handle tests with #if's 2022-07-20 11:23:49 +02:00
update_test_prefix.py
wciia.py [Utils] Fix indentation error in utils/wciia.py 2021-05-16 22:34:09 +08:00