[llvm] [InstCombine] Allow freezing multiple operands (PR #154336)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 02:08:52 PDT 2025
================
@@ -149,9 +149,10 @@ define float @freeze_sqrt(float %arg) {
define float @freeze_powi(float %arg0, i32 %arg1) {
; CHECK-LABEL: @freeze_powi(
-; CHECK-NEXT: [[OP:%.*]] = call float @llvm.powi.f32.i32(float [[ARG0:%.*]], i32 [[ARG1:%.*]])
-; CHECK-NEXT: [[FREEZE:%.*]] = freeze float [[OP]]
-; CHECK-NEXT: ret float [[FREEZE]]
+; CHECK-NEXT: [[FREEZE:%.*]] = freeze float [[OP:%.*]]
----------------
nikic wrote:
I've regenerated the tests with a newer UTC version that include the function signature. That avoids generating confusing naming.
https://github.com/llvm/llvm-project/pull/154336
More information about the llvm-commits
mailing list