tree-switch-conversion: Fix a comment typo
I've noticed a comment typo, this patch fixes that. 2023-07-19 Jakub Jelinek <jakub@redhat.com> * tree-switch-conversion.h (class bit_test_cluster): Fix comment typo.
This commit is contained in:
parent
ece799607c
commit
fcb3819642
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ public:
|
|||
/* A GIMPLE switch statement can be expanded to a short sequence of bit-wise
|
||||
comparisons. "switch(x)" is converted into "if ((1 << (x-MINVAL)) & CST)"
|
||||
where CST and MINVAL are integer constants. This is better than a series
|
||||
of compare-and-banch insns in some cases, e.g. we can implement:
|
||||
of compare-and-branch insns in some cases, e.g. we can implement:
|
||||
|
||||
if ((x==4) || (x==6) || (x==9) || (x==11))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue