diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-08-09 09:32:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 09:32:59 +0100 |
| commit | 7b03fdbd560ca10bc7873a4887eda3cc6738d186 (patch) | |
| tree | 065b9ee686c09454b090ff34f0652ccbf3f9830c /clang/lib/CodeGen/CGDebugInfo.cpp | |
| parent | 1ec33131250f6d7daa94c60b6176d5fff64b7319 (diff) | |
| download | llvm-7b03fdbd560ca10bc7873a4887eda3cc6738d186.zip llvm-7b03fdbd560ca10bc7873a4887eda3cc6738d186.tar.gz llvm-7b03fdbd560ca10bc7873a4887eda3cc6738d186.tar.bz2 | |
[X86] Add basic computeKnownBits support for X86ISD::BSR (#102474)
Resurrect https://reviews.llvm.org/D89214 (by @topperc)
The behaviour is undefined for an input of 0, otherwise the result is the position of the most significant set bit which must be in the range [0, bitwidth-1]. So any bits above log2 of bitwidth must be 0.
Fixes #74101
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
