diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2025-02-08 09:23:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-08 09:23:32 +0000 |
commit | 027aa70ea44502280779c3887c72886326785c6b (patch) | |
tree | d34427e69335f04a1825291bfc818e48f0ac511a /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 95922d83341f3476bdc2eccd524a02d9a4ab80da (diff) | |
download | llvm-027aa70ea44502280779c3887c72886326785c6b.zip llvm-027aa70ea44502280779c3887c72886326785c6b.tar.gz llvm-027aa70ea44502280779c3887c72886326785c6b.tar.bz2 |
[TOSA] Fix negate maxValue computation (#126295)
getInput1Zp() returns an unsigned value which means in case of negative
zero point value the max intermediate value computation currently goes
wrong. Use getInput1ZpAttr() instead which returns an APInt and allows
easy sign extension to int64_t.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions