aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-05-15 17:56:02 +0200
committerNikita Popov <npopov@redhat.com>2023-05-23 14:41:22 +0200
commitf7d1baa414e6e4fca04092cb2f71e9b037c762f0 (patch)
treeea94854d0ca8b5ece0bdecec12b40f71e5c8d95d /llvm/lib/FileCheck/FileCheck.cpp
parent35ce741ef3e3dd9db1da3ea0a06c565cb90f665a (diff)
downloadllvm-f7d1baa414e6e4fca04092cb2f71e9b037c762f0.zip
llvm-f7d1baa414e6e4fca04092cb2f71e9b037c762f0.tar.gz
llvm-f7d1baa414e6e4fca04092cb2f71e9b037c762f0.tar.bz2
[KnownBits] Return zero instead of unknown for always poison shifts
For always poison shifts, any KnownBits return value is valid. Currently we return unknown, but returning zero is generally more profitable. We had some code in ValueTracking that tried to do this, but was actually dead code. Differential Revision: https://reviews.llvm.org/D150648
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions