[PATCH] D59505: Fix flat-error-unsupported-gpu-hsa test

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 12:14:09 PDT 2019


aganea created this revision.
aganea added a reviewer: arsenm.
Herald added subscribers: llvm-commits, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

Tested in both Debug & Release builds, on both Windows and WSL/Ubuntu.


Repository:
  rL LLVM

https://reviews.llvm.org/D59505

Files:
  test/CodeGen/AMDGPU/flat-error-unsupported-gpu-hsa.ll


Index: test/CodeGen/AMDGPU/flat-error-unsupported-gpu-hsa.ll
===================================================================
--- test/CodeGen/AMDGPU/flat-error-unsupported-gpu-hsa.ll
+++ test/CodeGen/AMDGPU/flat-error-unsupported-gpu-hsa.ll
@@ -7,7 +7,7 @@
 ; Flat instructions should not select if the target device doesn't
 ; support them. The default device should be able to select for HSA.
 
-; ERROR: LLVM ERROR: Cannot select: t{{[0-9]+}}: i32,ch = load<(volatile load 4 from %ir.flat.ptr.load)>
+; ERROR: LLVM ERROR: Cannot select: {{0x[0-9,a-f]+|t[0-9]+}}: i32,ch = load<(volatile load 4 from %ir.flat.ptr.load)>
 ; HSA-DEFAULT: flat_load_dword
 define amdgpu_kernel void @load_flat_i32(i32* %flat.ptr) {
   %load = load volatile i32, i32* %flat.ptr, align 4


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59505.191136.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190318/f7b54d30/attachment.bin>


More information about the llvm-commits mailing list