[llvm] [SelectionDAG] Add function for `peekThroughFreeze` (PR #195324)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 12:10:16 PDT 2026
================
@@ -1977,6 +1977,14 @@ LLVM_ABI SDValue peekThroughInsertVectorElt(SDValue V,
/// If \p V is not a truncation, it is returned as-is.
LLVM_ABI SDValue peekThroughTruncates(SDValue V);
+/// Return the non-frozen source operand of \p V if it exists.
+/// If \p V is not a freeze, it is returned as-is.
+LLVM_ABI SDValue peekThroughFreeze(SDValue V);
----------------
arsenm wrote:
Implement inline?
https://github.com/llvm/llvm-project/pull/195324
More information about the llvm-commits
mailing list