aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-06-10 12:52:39 -0700
committerGitHub <noreply@github.com>2025-06-10 12:52:39 -0700
commite0cc556ad4276c2c76e303c39616ad126bea56d6 (patch)
tree62b95e75c400d018fbc048286a149593b99e2a19 /clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp
parentf72dd4eca8dac84d819abccde4447755a7d9420d (diff)
downloadllvm-e0cc556ad4276c2c76e303c39616ad126bea56d6.zip
llvm-e0cc556ad4276c2c76e303c39616ad126bea56d6.tar.gz
llvm-e0cc556ad4276c2c76e303c39616ad126bea56d6.tar.bz2
[IndVars] Teach widenLoopCompare to use sext if narrow IV is positive and other operand is already sext. (#142703)
This prevents us from ending up with (zext (sext X)). The zext will require an instruction on targets where zext isn't free like RISC-V.
Diffstat (limited to 'clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions