LLVM actually supports ops (#14843)

LLVM should support eg, SHL/SHR, but this was never actually rendered
This commit is contained in:
Christopher Milan
2026-02-17 15:21:33 -08:00
committed by GitHub
parent 95e97ec341
commit 5b11519d5e

View File

@@ -136,7 +136,7 @@ class LLVMRenderer(Renderer):
supports_float4 = True
abi: str | None
string_rewrite: PatternMatcher
code_for_op = {Ops.FDIV: lambda: None, Ops.CMPLT: lambda: None}
code_for_op = {k:lambda:None for v in lop.values() for k in v.keys()}
if AMX: tensor_cores = tc.amx
extra_matcher = create_non_native_float_pats((dtypes.bfloat16,)) + pm_manual_bf16_cast