aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2025-02-08 09:23:32 +0000
committerGitHub <noreply@github.com>2025-02-08 09:23:32 +0000
commit027aa70ea44502280779c3887c72886326785c6b (patch)
treed34427e69335f04a1825291bfc818e48f0ac511a /llvm/lib/CodeGen/CodeGen.cpp
parent95922d83341f3476bdc2eccd524a02d9a4ab80da (diff)
downloadllvm-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