aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-11-03 11:15:08 -0700
committerGitHub <noreply@github.com>2023-11-03 11:15:08 -0700
commit70b35ec0a81375c49482755f08afc9463210ca87 (patch)
tree37aea9a2a7d7de5c90238327d1637c6c34f7ed36 /llvm/lib/Support/StringRef.cpp
parent19b5495b653a00da7a250f48b4f739fcf2bbe82f (diff)
downloadllvm-70b35ec0a81375c49482755f08afc9463210ca87.zip
llvm-70b35ec0a81375c49482755f08afc9463210ca87.tar.gz
llvm-70b35ec0a81375c49482755f08afc9463210ca87.tar.bz2
[SelectionDAG] Add initial support for nneg flag on ISD::ZERO_EXTEND. (#70872)
This adds the nneg flag to SDNodeFlags and the node printing code. SelectionDAGBuilder will add this flag to the node if the target doesn't prefer sign extend. A future RISC-V patch can remove the sign extend preference from SelectionDAGBuilder. I've also added the flag to the DAG combine that converts ISD::SIGN_EXTEND to ISD::ZERO_EXTEND.
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions