[all-commits] [llvm/llvm-project] c72a63: [AMDGPU] Add implicit vcc_lo on S_CBRANCH_VCCNZ in...

Piotr Sobczak via All-commits all-commits at lists.llvm.org
Wed Feb 17 06:17:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c72a63b4b06a0e96cecba36f6bc8df9f8ef81cce
      https://github.com/llvm/llvm-project/commit/c72a63b4b06a0e96cecba36f6bc8df9f8ef81cce
  Author: Piotr Sobczak <Piotr.Sobczak at amd.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll

  Log Message:
  -----------
  [AMDGPU] Add implicit vcc_lo on S_CBRANCH_VCCNZ in wave32

* Update skip-if-dead.ll with tests for wave32.
* Fix the crash in verifier in one newly enabled test by adding
  missing fixImplicitOperands in branch insertion code.

```
*** Bad machine code: Using an undefined physical register ***
- function:    test_kill_divergent_loop
- basic block: %bb.2 bb (0xad96308)
- instruction: S_CBRANCH_VCCNZ %bb.1, implicit $vcc_lo
- operand 1:   implicit $vcc_lo
LLVM ERROR: Found 1 machine code errors.
```

* Simplify "cbranch_kill" to not use interp instructions.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D96793




More information about the All-commits mailing list