[X86ISelLowering] const function called by both const and non-const functions requires the use of a const_cast
Open
backend:X86
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Discussed [here](https://github.com/llvm/llvm-project/pull/176073#discussion_r2695138896) in https://github.com/llvm/llvm-project/pull/176073
FindSingleBitChange is called by const and non-const functions.
Contributor guide
Assessment
This issue has not been assessed yet.