From c031e05aa2fccafd39319b59e7987402040af3aa Mon Sep 17 00:00:00 2001
From: Stuart Archibald <stuartarchibald@users.noreply.github.com>
Origin: https://github.com/numba/numba/pull/8639
Date: Fri, 25 Nov 2022 13:24:57 +0000
Subject: [PATCH 06/20] Fix f-string const name interp.

As title.
---
 numba/core/interpreter.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- a/numba/core/interpreter.py
+++ b/numba/core/interpreter.py
@@ -2905,10 +2905,10 @@
 
         op = BINOPS_TO_OPERATORS["is"]
 
-        constnone = self.store(value=ir.Const(None, loc=self.loc),
-                         name="${inst.offset}constnone")
-        pred = self.get(pred)
-        isnone = ir.Expr.binop(op, lhs=pred, rhs=constnone, loc=self.loc)
+        lhs = self.store(value=ir.Const(None, loc=self.loc),
+                         name=f"${inst.offset}constnone")
+        rhs = self.get(pred)
+        isnone = ir.Expr.binop(op, lhs=lhs, rhs=rhs, loc=self.loc)
 
         pname = "$%spred" % (inst.offset)
         predicate = self.store(value=isnone, name=pname)
