[PATCH] D99904: [WebAssembly] Fix for PIC external symbol ISEL

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 13:40:15 PDT 2021


tlively accepted this revision.
tlively added a comment.

Very cool, I did not know any of these tricks were possible.



================
Comment at: llvm/test/CodeGen/WebAssembly/load-store-pic.ll:4
+; RUN: llc < %s --mtriple=wasm64-unknown-emscripten -asm-verbose=false -relocation-model=pic -fast-isel -wasm-disable-explicit-locals -wasm-keep-registers | FileCheck %s -check-prefixes=PIC,CHECK -DPTR=i64
+; RUN: llc < %s --mtriple=wasm64-unknown-emscripten -asm-verbose=false -relocation-model=pic -fast-isel=false -wasm-disable-explicit-locals -wasm-keep-registers | FileCheck %s -check-prefixes=PIC,CHECK -DPTR=i64
 
----------------
Nice! I didn't know you could define match strings from the command line like this.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99904/new/

https://reviews.llvm.org/D99904



More information about the llvm-commits mailing list