summaryrefslogtreecommitdiff
path: root/mlir/test/Dialect/OpenACC/invalid.mlir
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-05-17 11:06:24 -0700
committerPhilip Reames <listmail@philipreames.com>2023-05-17 11:13:57 -0700
commit0457f506fddf47cfe842b398c7f522057cef8163 (patch)
tree76a81a28f1721626ba5e0f3bfdab0f21dec3a8f5 /mlir/test/Dialect/OpenACC/invalid.mlir
parent6c59f399a6ca66b7ed3298ab5bcc594aa2930043 (diff)
downloadllvm-0457f506fddf47cfe842b398c7f522057cef8163.tar.gz
[RISCV] Implement storeOfVectorConstantIsCheap hook to prevent store merging at VL=2
In general, VL=2 vectors are very questionable profitability wise. For constants specifically, our inability to materialize many vector constants cheaply biases us strongly towards unprofitability at VL=2. This hook is very close to the x86 implementation. The difference is that X86 whitelists stores of zeros, and we're better off letting that stay scalar at VL=2. Differential Revision: https://reviews.llvm.org/D150798
Diffstat (limited to 'mlir/test/Dialect/OpenACC/invalid.mlir')
0 files changed, 0 insertions, 0 deletions