llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[X86ISelLowering] const function called by both const and non-const functions requires the use of a const_cast

Open akshayrdeodhar opened this issue 10 months ago • 1 comments

Discussed here in https://github.com/llvm/llvm-project/pull/176073

FindSingleBitChange is called by const and non-const functions.

akshayrdeodhar avatar Jan 15 '26 22:01 akshayrdeodhar

@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.

llvmbot avatar Jan 15 '26 22:01 llvmbot