llvm-project
llvm-project copied to clipboard
[X86ISelLowering] const function called by both const and non-const functions requires the use of a const_cast
Discussed here in https://github.com/llvm/llvm-project/pull/176073
FindSingleBitChange is called by const and non-const functions.
@llvm/issue-subscribers-backend-x86
Author: Akshay Deodhar (akshayrdeodhar)
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.