Use update_llc_test_checks for the switch.ll test; add new test
authorMatthias Braun <matze@braunis.de>
Tue, 3 May 2022 22:01:39 +0000 (15:01 -0700)
committerMatthias Braun <matze@braunis.de>
Tue, 10 May 2022 17:00:10 +0000 (10:00 -0700)
commit75e50f70c6fd461cae915fc4983faf4127a6059f
tree43c3190f386aa4bf32c6e4675eba5bfa91e8a16c
parent3137ca80b9ef99359a4adf77512925c2edc461b9
Use update_llc_test_checks for the switch.ll test; add new test

- Change `switch.ll` test to a style suitable for
  `tools/update_llc_test_checks.py`.
- Precommit test for upcoming changes:
  - Add `switch_i8` to `test/CodeGen/X86/switch.ll`.
  - Add `test/CodeGen/X86/switch-phi-const.ll`.

Differential Revision: https://reviews.llvm.org/D124893
llvm/test/CodeGen/X86/switch-phi-const.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/switch.ll