[all-commits] [llvm/llvm-project] 6c90a6: [RISCV] Simplify some code in lowering vector int<...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Mar 23 12:10:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c90a654bbbc2f6eb575cc2e75f74f7652bec296
https://github.com/llvm/llvm-project/commit/6c90a654bbbc2f6eb575cc2e75f74f7652bec296
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-03-23 (Wed, 23 Mar 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Simplify some code in lowering vector int<->fp conversions. NFC
Don't call EltVT.getSizeInBits() or SrcEltVT.getSizeInBits() a second
time. They are already in EltSize or SrcEltSize variables.
Refactor some comparisons to use multiply instead of division.
More information about the All-commits
mailing list