[clang] [llvm] [WebAssembly] Change to 64-bit table indices on Wasm64 (PR #180649)

Demetrius Kanios via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 01:07:49 PDT 2026


================

----------------
QuantumSegfault wrote:

Hmmm...

@sbc100 suggested the `-DiPTR trick`, which helped reduced the duplicate `WASM32-NEXT` vs `WASM64-NEXT` blocks.

I don't know if using `sed` in both spots really makes things any cleaner. Actually...that would probably be uglier.

Would have to do process substitution to replace `FileCheck %s` (which expects filename as a parameter) with something like `FileCheck <(sed 's/.../.../g' < %s`)`...

Unless I'm missing something?

https://github.com/llvm/llvm-project/pull/180649


More information about the cfe-commits mailing list