diff options
author | Jorge Gorbe Moya <jgorbe@google.com> | 2024-11-12 14:10:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 14:10:46 -0800 |
commit | 9d85ba5724f22d73c95858246691e0b389bdb28d (patch) | |
tree | f5181f5a4e7fedf53274ec6be04407e41c0d3856 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | a2042521a0387d7d7b80b2987f4b21f5a50bc7bb (diff) | |
download | llvm-9d85ba5724f22d73c95858246691e0b389bdb28d.zip llvm-9d85ba5724f22d73c95858246691e0b389bdb28d.tar.gz llvm-9d85ba5724f22d73c95858246691e0b389bdb28d.tar.bz2 |
[SandboxIR] Preserve the order of switch cases after revert. (#115577)
Preserving the case order is not strictly necessary to preserve
semantics (for example, operations like SwitchInst::removeCase will
happily swap cases around). However, I'm planning to introduce an
optional verification step for SandboxIR that will use StructuralHash to
compare IR after a revert to the original IR to help catch tracker bugs,
and the order difference triggers a difference there.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions