aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/X86TargetParser.cpp
diff options
context:
space:
mode:
authorGeoffrey Martin-Noble <gcmn@google.com>2021-04-12 17:01:30 -0700
committerGeoffrey Martin-Noble <gcmn@google.com>2021-04-12 18:46:02 -0700
commitae33eef5055ef1f55df0df3be0b8851aaf9f4efd (patch)
tree61ee0d2dd4749bfb72157f594f7d45117bff1ee0 /llvm/lib/Support/X86TargetParser.cpp
parentd926498d9febed7f703e29fd06f7825d54ee91a4 (diff)
downloadllvm-ae33eef5055ef1f55df0df3be0b8851aaf9f4efd.zip
llvm-ae33eef5055ef1f55df0df3be0b8851aaf9f4efd.tar.gz
llvm-ae33eef5055ef1f55df0df3be0b8851aaf9f4efd.tar.bz2
[MLIR] Add a switch operation to the standard dialect
This is similar to the definition of llvm.switch, providing unstructured branch-based control flow. It differs from the LLVM operation in that it accepts any signless integer (not only an i32), takes no branch weights (the same as the Branch and CondBranch ops), and has a slightly different syntax for the default case that includes it in the list of cases with an explicit `default` keyword. Also included are several canonicalizers. See https://llvm.discourse.group/t/rfc-add-std-switch-and-scf-switch/3090 Reviewed By: rriddle, bondhugula Differential Revision: https://reviews.llvm.org/D99925
Diffstat (limited to 'llvm/lib/Support/X86TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions