[llvm] [utils][UpdateLLCTestChecks] Add --include-constant-pool knob to update_llc_test_checks.py (PR #179536)
Ryan Buchner via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 11 00:03:55 PDT 2026
================
@@ -2155,6 +2199,18 @@ def add_checks(
if len(printed_prefixes) != 0:
output_lines.append(comment_marker)
+ # If we've stored any constant pool information, output check commands for that
+ if ginfo.is_asm():
+ const_info = func_dict[checkprefix][func_name].const_info
+ if const_info:
+ func_num = const_info.number
+ for Idx in range(len(const_info.body)):
+ output_lines.append(
+ f"; {checkprefix}-LABEL: LCPI{func_num}_{Idx}"
----------------
bababuck wrote:
Is `LCPI` common across backends, or is that RISCV specific?
https://github.com/llvm/llvm-project/pull/179536
More information about the llvm-commits
mailing list