aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPierre van Houtryve <pierre.vanhoutryve@amd.com>2025-02-06 14:00:20 +0100
committerGitHub <noreply@github.com>2025-02-06 14:00:20 +0100
commit03478d6f2d0032615b4633927c6e8f5c9c5e4909 (patch)
tree56d4bf79aebc1fc2d5db2f8aa698c39b112eeb8c /flang/lib/Frontend/CompilerInvocation.cpp
parent2464f4ba6e0e50bb30c31b6526fa0bdd5a531217 (diff)
downloadllvm-03478d6f2d0032615b4633927c6e8f5c9c5e4909.zip
llvm-03478d6f2d0032615b4633927c6e8f5c9c5e4909.tar.gz
llvm-03478d6f2d0032615b4633927c6e8f5c9c5e4909.tar.bz2
[GlobalISel] Prefix MatchTable Lines with their Index (#125845)
I tried to keep it readable by making the width of the column with the index always enough to contain the largest number. That way things don't shift to the right every time a new digit appears, it remains consistent. Tests don't break because this only affects the beginning of the line and FileCheck doesn't care about what comes before for the most part. Example of the new output: ``` /* 758359 */ // Label 9988: @758359 /* 758359 */ GIM_Try, /*On fail goto*//*Label 9989*/ GIMT_Encode4(758435), // Rule ID 6715 // /* 758364 */ GIM_CheckConstantInt8, /*MI*/0, /*Op*/2, 0, /* 758368 */ // MIs[0] offset ``` Fixes #119177
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions