[llvm] [NVPTX] Teach NVPTX about predicates (PR #67468)
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 03:03:07 PDT 2024
================
@@ -0,0 +1,33 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -o - %s -march=nvptx64 -mcpu=sm_35 | FileCheck %s
+
+---
+name: foo
+alignment: 1
+tracksRegLiveness: true
+registers:
+ - { id: 0, class: int64regs }
+ - { id: 1, class: int64regs }
+ - { id: 2, class: int1regs }
+ - { id: 3, class: int64regs }
+ - { id: 4, class: int64regs }
+frameInfo:
+ maxAlignment: 1
+machineFunctionInfo: {}
+body: |
+ bb.0:
+ successors:
+ %0:int64regs = IMPLICIT_DEF
+ %1:int64regs = IMPLICIT_DEF
+ %2:int1regs = IMPLICIT_DEF; SETP_s64ri %5, 1, 2, $noreg, 0
----------------
frasercrmck wrote:
This doesn't look right - having these two instructions on the same line. And were the checks really generated by `update_mir_test_checks`? They don't appear in the format I'd expect them.
https://github.com/llvm/llvm-project/pull/67468
More information about the llvm-commits
mailing list