Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
390 ms | linux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp |
Event Timeline
llvm/lib/Target/RISCV/RISCVISelLowering.h | ||
---|---|---|
77–81 |
Fixed comments
- IEEE-754 rounding direction names are replaced by llvm::RoundingMode enumerators,
- Fixed comment for RDN.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
227 | You can use XLenVT instead of picking i64/i32. | |
898 | Rename IntTy to XLenVT to match what most of the RISCV back does. | |
902 | Use RISCVSysReg::lookupSysRegByName("FRM")->Encoding it's not common enough to justify having the encoding in 2 places. | |
1067 | Is this code reachable? This would require setOperaction(ISD::FLT_ROUNDS_, MVT::i32, Custom) when Subtarget.is64Bit() is false. It's also the default behavior for the target independent type legalizer. | |
llvm/lib/Target/RISCV/RISCVISelLowering.h | ||
76 | Can you use RISCVFPRndMode from lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h |
llvm/test/CodeGen/RISCV/fpenv.ll | ||
---|---|---|
2 | Use update_llc_test_checks.py |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
1067 | Removed this check. |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
15 | This is already included in RISCV.h because it's very common file to need. |
LGTM.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
1069 | I missed it before, but you can use Res.getValue(0) and Res.getValue(1) to shorten these lines if you want. |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
1069 | Thank you for advice! I will incorporate these changes too. |
Can you use RISCVFPRndMode from lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h