Created
August 29, 2025 18:09
-
-
Save Artem-B/ea59b75e058ef235d5e942c1d96e523f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 1] ; RUN: not llc < %s -march=nvptx64 -mcpu=sm_100 -mattr=+ptx88 2>&1 | FileCheck %s [FAIL] | |
| not llc < /build/work/c6bdb884076ec4b5dd33a50ce69e302b9272/google3/runfiles/google3/third_party/llvm/llvm-project/llvm/test/CodeGen/NVPTX/load-store-atomic.err.ll -march=nvptx64 -mcpu=sm_100 -mattr=+ptx88 2>&1 | /build/work/c6bdb884076ec4b5dd33a50ce69e302b9272/google3/runfiles/google3/third_party/llvm/llvm-project/llvm/FileCheck --allow-unused-prefixes /build/work/c6bdb884076ec4b5dd33a50ce69e302b9272/google3/runfiles/google3/third_party/llvm/llvm-project/llvm/test/CodeGen/NVPTX/load-store-atomic.err.ll | |
| /build/work/c6bdb884076ec4b5dd33a50ce69e302b9272/google3/runfiles/google3/third_party/llvm/llvm-project/llvm/test/CodeGen/NVPTX/load-store-atomic.err.ll:5:10: error: CHECK: expected string not found in input | |
| ; CHECK: error: unsupported atomic store | |
| ^ | |
| <stdin>:2:31: note: scanning from here | |
| error: unsupported atomic load | |
| ^ | |
| <stdin>:11:69: note: possible intended match here | |
| // .globl test_i128_generic_atomic // -- Begin function test_i128_generic_atomic | |
| ^ | |
| Input file: <stdin> | |
| Check file: /build/work/c6bdb884076ec4b5dd33a50ce69e302b9272/google3/runfiles/google3/third_party/llvm/llvm-project/llvm/test/CodeGen/NVPTX/load-store-atomic.err.ll | |
| -dump-input=help explains the following input dump. | |
| Input was: | |
| <<<<<< | |
| 1: error: unsupported atomic store | |
| 2: error: unsupported atomic load | |
| check:5'0 X error: no match found | |
| 3: // | |
| check:5'0 ~~~ | |
| 4: // Generated by LLVM NVPTX Back-End | |
| check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 5: // | |
| check:5'0 ~~~ | |
| 6: | |
| check:5'0 ~ | |
| 7: .version 8.8 | |
| check:5'0 ~~~~~~~~~~~~~ | |
| 8: .target sm_100 | |
| check:5'0 ~~~~~~~~~~~~~~~ | |
| 9: .address_size 64 | |
| check:5'0 ~~~~~~~~~~~~~~~~~ | |
| 10: | |
| check:5'0 ~ | |
| 11: // .globl test_i128_generic_atomic // -- Begin function test_i128_generic_atomic | |
| check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| check:5'1 ? possible intended match | |
| 12: // @test_i128_generic_atomic | |
| check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 13: .visible .func test_i128_generic_atomic( | |
| check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 14: .param .b64 test_i128_generic_atomic_param_0, | |
| check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 15: .param .b64 test_i128_generic_atomic_param_1 | |
| check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 16: ) | |
| check:5'0 ~~ | |
| . | |
| . | |
| . | |
| >>>>>> | |
| Command failed: exit status 1 | |
| [ 2] | |
| [ 3] ; CHECK: error: unsupported atomic store | |
| [ 4] ; CHECK: error: unsupported atomic load | |
| [ 5] ; CHECK: error: unsupported atomic store | |
| [ 6] ; CHECK: error: unsupported atomic load | |
| [ 7] | |
| [ 8] ;; TODO: we could actually support this but we don't currently support b128 | |
| [ 9] ;; load lowering. | |
| [ 10] define void @test_i128_generic_atomic(ptr %a, ptr %b) { | |
| [ 11] %a.load = load atomic i128, ptr %a seq_cst, align 16 | |
| [ 12] store atomic i128 %a.load, ptr %b seq_cst, align 16 | |
| [ 13] ret void | |
| [ 14] } | |
| [ 15] | |
| [ 16] define void @test_i256_global_atomic(ptr addrspace(1) %a, ptr addrspace(1) %b) { | |
| [ 17] %a.load = load atomic i256, ptr addrspace(1) %a seq_cst, align 32 | |
| [ 18] store atomic i256 %a.load, ptr addrspace(1) %b seq_cst, align 32 | |
| [ 19] ret void | |
| [ 20] } | |
| Some commands failed! | |
| To run this test individually, run: blaze test //third_party/llvm/llvm-project/llvm/test/CodeGen/NVPTX:load-store-atomic.err.ll.test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment