[PATCH] D53930: [AMDGPU] Fix the new atomic optimizer in pixel shaders.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 31 11:39:14 PDT 2018


arsenm added inline comments.


================
Comment at: test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll:1
+; RUN: llc -march=amdgcn -mtriple=amdgcn---amdgiz -amdgpu-atomic-optimizations=true -verify-machineinstrs < %s | FileCheck -enable-var-scope -check-prefixes=GCN,GFX7LESS %s
+; RUN: llc -march=amdgcn -mtriple=amdgcn---amdgiz -mcpu=tonga -mattr=-flat-for-global -amdgpu-atomic-optimizations=true -verify-machineinstrs < %s | FileCheck -enable-var-scope -check-prefixes=GCN,GFX8MORE %s
----------------
Remove the -amdgiz's since that's long obsolete. Also remove -march since it's redundant with the triple


Repository:
  rL LLVM

https://reviews.llvm.org/D53930





More information about the llvm-commits mailing list