https://github.com/CarolineConcatto approved this pull request. Thank you Spencer for the patch. I believe the way you implemented is fine indeed. We dont need and ISD node so your point is fair. Sorry for the confusion https://github.com/llvm/llvm-project/pull/115340