mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Now, the first instance of something like `%name` matches any `LocalVar` from the llvm ir grammar, and subsequent instances match exactly whatever the first one matched, along with a handful of other handy substitutions. `%0` syntax is now an error because it is a footgun if it is reused in multiple functions. Also, it is now possible to match non-adjacent instructions without the risk of escaping the current function and getting a bogus match in some other function.
77 lines
2.1 KiB
77 lines
2.1 KiB