summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-08-19 08:15:55 -0700
committerCraig Topper <craig.topper@sifive.com>2022-08-19 08:40:17 -0700
commitc9a41fe60ab62f7a40049c100adcc8087a47669b (patch)
tree7a9da23e4ab5be80aeb396408721b76a374d5e80 /clang/lib/CodeGen/CodeGenModule.cpp
parentc16702868485f157f60cd34ac64c5dd5db456d47 (diff)
[RISCV] Prefer vnsrl.wi v8, v8, 0 over vnsrl.wx v8, v8, x0.
I have a couple data points that some microarchitectures prefer the immediate 0 over x0. Does anyone know of microarchitectures where the opposite is true? Unfortunately, this is different than the vncvt.x.x.w alias from the spec. Perhaps the alias was poorly chosen if x0 isn't as optimal as immediate 0 on all microarchitectures. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D132041
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions