Skip to content

[TIRX][Tests] Fix LLVM version gate for vectorized lround - #19753

Merged
tqchen merged 1 commit into
apache:mainfrom
tlopex:fix-vectorize-lround-llvm-gate
Jun 13, 2026
Merged

tqchen merged 1 commit into
apache:mainfrom
tlopex:fix-vectorize-lround-llvm-gate

Conversation

@tlopex

@tlopex tlopex commented Jun 13, 2026

Copy link
Copy Markdown
Member

LLVM 20 added vector support for llvm.lround/llvm.llround. In LLVM release/19.x, the IR Verifier still rejects vector operands/results for these intrinsics with "Intrinsic does not support vectors". In release/20.x, that verifier check was removed, and LLVM 20.1 compiles the vectorized lround module successfully.

This updates the test gate so LLVM <= 19 still exercises the expected failure path, while LLVM 20+ uses the successful compile path.

…ot 21)

LLVM 20 added vector support for llvm.lround/llvm.llround. In LLVM release/19.x, the IR Verifier still rejects vector operands/results for these intrinsics with "Intrinsic does not support vectors". In release/20.x, that verifier check was removed, and LLVM 20.1 compiles the vectorized lround module successfully.

Update the test gate so LLVM <= 19 still exercises the expected failure path, while LLVM 20+ uses the successful compile path.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@tqchen
tqchen merged commit 235387d into apache:main Jun 13, 2026
8 checks passed
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
LLVM 20 added vector support for llvm.lround/llvm.llround. In LLVM
release/19.x, the IR Verifier still rejects vector operands/results for
these intrinsics with "Intrinsic does not support vectors". In
release/20.x, that verifier check was removed, and LLVM 20.1 compiles
the vectorized lround module successfully.

This updates the test gate so LLVM <= 19 still exercises the expected
failure path, while LLVM 20+ uses the successful compile path.

Co-authored-by: tlopexh <tlopexh@users.noreply.github.com>
(cherry picked from commit 235387d)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
LLVM 20 added vector support for llvm.lround/llvm.llround. In LLVM
release/19.x, the IR Verifier still rejects vector operands/results for
these intrinsics with "Intrinsic does not support vectors". In
release/20.x, that verifier check was removed, and LLVM 20.1 compiles
the vectorized lround module successfully.

This updates the test gate so LLVM <= 19 still exercises the expected
failure path, while LLVM 20+ uses the successful compile path.

Co-authored-by: tlopexh <tlopexh@users.noreply.github.com>
(cherry picked from commit 235387d)
tqchen pushed a commit that referenced this pull request Oct 16, 2026
LLVM 20 added vector support for llvm.lround/llvm.llround. In LLVM
release/19.x, the IR Verifier still rejects vector operands/results for
these intrinsics with "Intrinsic does not support vectors". In
release/20.x, that verifier check was removed, and LLVM 20.1 compiles
the vectorized lround module successfully.

This updates the test gate so LLVM <= 19 still exercises the expected
failure path, while LLVM 20+ uses the successful compile path.

Co-authored-by: tlopexh <tlopexh@users.noreply.github.com>
tqchen pushed a commit that referenced this pull request Oct 18, 2026
LLVM 20 added vector support for llvm.lround/llvm.llround. In LLVM
release/19.x, the IR Verifier still rejects vector operands/results for
these intrinsics with "Intrinsic does not support vectors". In
release/20.x, that verifier check was removed, and LLVM 20.1 compiles
the vectorized lround module successfully.

This updates the test gate so LLVM <= 19 still exercises the expected
failure path, while LLVM 20+ uses the successful compile path.

Co-authored-by: tlopexh <tlopexh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants