[llvm] [AMDGPU] Extend zero initialization of return values for TFE (PR #85759)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 06:37:47 PDT 2024


================
@@ -1,6 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
 ; RUN: llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -stop-after=instruction-select -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX8 %s
 ; RUN: llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1200 -stop-after=instruction-select -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX12 %s
+; Note that TFE instructions don't have the result initialization to zero due to stopping before finalize-isel - which is where that's inserted
----------------
jayfoad wrote:

Seems fine as-is.

https://github.com/llvm/llvm-project/pull/85759


More information about the llvm-commits mailing list