[PATCH] D109481: [WebAssembly] Custom optimization for truncate
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 14 15:25:11 PDT 2021
tlively added inline comments.
================
Comment at: llvm/test/CodeGen/WebAssembly/simd-vector-trunc.ll:1
+; RUN: llc < %s -asm-verbose=false -verify-machineinstrs -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+simd128 | FileCheck %s
+
----------------
If you change the run line to this, you can use utils/update_llc_test_checks.py to autogenerate the test output, which will make it easier for me to understand the transformation we are doing. Also, it looks like the code is more general than it needs to be to handle this one case. Is there an opportunity to either simplify the code or test more cases here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109481/new/
https://reviews.llvm.org/D109481
More information about the llvm-commits
mailing list