[PatternMatch] Do not match constant expression trunc
Similar to the change previously made for binops, make m_Trunc() only match instructions, not constant expressions. This is more likely to cause a crash than do something useful. Fixes crash reported at: https://github.com/llvm/llvm-project/pull/92885#issuecomment-2145034670
parent
4812e9a4
Please register or sign in to comment