[PATCH] D60295: [SelectionDAG] Change the jump table size unit from entry to target

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 10:33:39 PDT 2019


evandro marked 2 inline comments as done.
evandro added inline comments.


================
Comment at: llvm/test/CodeGen/WebAssembly/cfg-stackify.ll:1
-; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 | FileCheck %s
+; RUN: llc < %s -min-jump-table-cases=8 -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -disable-block-placement -verify-machineinstrs -fast-isel=false -machine-sink-split-probability-threshold=0 -cgp-freq-ratio-to-skip-merge=1000 | FileCheck %s
 
----------------
aheejin wrote:
> Why does this test need this option?
Because before there was no jump table and now there is, since the number of targets is small enough.  Otherwise, this test would have to be modified for a reason unrelated to the test.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60295





More information about the llvm-commits mailing list