diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-02-02 12:15:36 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-02-02 12:23:12 -0800 |
commit | f1720abb5464e38585e0ce6ccf19d8f164cf464c (patch) | |
tree | 0bbba5430331cd7a6e7981a34943d7b99c49d4f7 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | e07100002e4a664de25d8d1045c5baed640ea933 (diff) | |
download | llvm-f1720abb5464e38585e0ce6ccf19d8f164cf464c.zip llvm-f1720abb5464e38585e0ce6ccf19d8f164cf464c.tar.gz llvm-f1720abb5464e38585e0ce6ccf19d8f164cf464c.tar.bz2 |
[RISCV] Cleanup some places that assumed VLMaxSentinel and -1 constant mean the same thing. NFCI
VLMaxSentintel happens to be represented as -1 TargetConstant. A user
provided -1 would be an ISD::Constant. We shouldn't assume that they
are the same thing. I'm still not entirely convinced that we should be
treating -1 from the user as VLMAX.
Also fix one place that failed to use XLenVT for the VLMaxSentinel,
using MVT::i64 in code that only executes on RV32.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions