Skip to content
Snippets Groups Projects
Commit b4d8934f authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'master' of gitlab.tiker.net:inducer/loopy

parents 03ccb2a1 d4a1b476
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,6 @@ class InstructionBase(Record):
from pymbolic.primitives import LogicalNot
from loopy.symbolic import parse
if pred.startswith("!"):
from warnings import warn
warn("predicates starting with '!' are deprecated. "
"Simply use 'not' instead")
pred = LogicalNot(parse(pred[1:]))
......@@ -405,14 +404,12 @@ class InstructionBase(Record):
def copy(self, **kwargs):
if "insn_deps" in kwargs:
from warnings import warn
warn("insn_deps is deprecated, use depends_on",
DeprecationWarning, stacklevel=2)
kwargs["depends_on"] = kwargs.pop("insn_deps")
if "insn_deps_is_final" in kwargs:
from warnings import warn
warn("insn_deps_is_final is deprecated, use depends_on",
DeprecationWarning, stacklevel=2)
......@@ -831,7 +828,6 @@ class Assignment(MultiAssignmentBase):
class ExpressionInstruction(Assignment):
def __init__(self, *args, **kwargs):
from warnings import warn
warn("ExpressionInstruction is deprecated. Use Assignment instead",
DeprecationWarning, stacklevel=2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment