[llvm] DAG: Allow select ptr combine for non-0 address spaces (PR #167909)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 16 04:57:00 PST 2025


ronlieb wrote:

This PR is breaking a few select related tests in the oclConformance  
conformance/2.0/relationals/test_relationals relational_select_signed

 Initializing random seed to 0.
Requesting Default device based on command line for platform index 0 and device index 0
Compute Device Name = gfx90a:sramecc+:xnack-, Compute Device Vendor = Advanced Micro Devices, Inc., Compute Device Version = OpenCL 2.0
 , CL C Version = OpenCL C 2.0
Supports single precision denormals: YES
sizeof( void*) = 8  (host)
sizeof( void*) = 8  (device)
relational_select_signed...
ERROR: Data sample 1:0 does not validate! Expected (0x160d68cd), got (0x04ff885a) from (0x38ca7033) and (0x160d68cd) with test (0xd8d86
f1e)
inA: 0x33 0x70 0xca 0x38 0x23 0x29 0xf5 0x46 0x61 0xb3 0x6d 0xbf 0xcd 0x59 0xd7 0x07
inB: 0xcd 0x68 0x0d 0x16 0xd9 0x47 0xad 0x65 0x5e 0x00 0xd6 0xea 0xec 0x19 0xaa 0x33
inC: 0x1e 0x6f 0xd8 0xd8 0xe8 0x6b 0x40 0x5d 0xfb 0x35 0xb6 0x77 0xfd 0x8e 0x1a 0xf8
exp: 0xcd 0x68 0x0d 0x16 0x00 0x00 0x00 0x00 0xe0 0x3c 0x13 0x24 0x2d 0x7f 0x00 0x00
got: 0x5a 0x88 0xff 0x04 0x5a 0x88 0xff 0x04 0x5a 0x88 0xff 0x04 0x5a 0x88 0xff 0x04    Vector int1, test vector int1 FAILED
ERROR: Data sample 1:0 does not validate! Expected (0x56f8521f), got (0x6c9e2097) from (0x997c80e0) and (0x56f8521f) with test (0xac65c
7b3)
inA: 0xe0 0x80 0x7c 0x99 0x2e 0xc0 0xa9 0x1d 0x85 0xb3 0x9a 0xa1 0xc4 0x46 0x83 0xd3
inB: 0x1f 0x52 0xf8 0x56 0x86 0x8c 0x87 0xac 0x58 0x1f 0x2e 0xbf 0x21 0xf7 0xe5 0xe5
inC: 0xb3 0xc7 0x65 0xac 0x8e 0xba 0x2d 0x7e 0x03 0xeb 0x31 0x01 0xd1 0xf4 0xb9 0xa8
exp: 0x1f 0x52 0xf8 0x56 0x86 0x8c 0x87 0xac 0xe0 0x3c 0x13 0x24 0x2d 0x7f 0x00 0x00
got: 0x97 0x20 0x9e 0x6c 0x20 0xc5 0x96 0x64 0x97 0x20 0x9e 0x6c 0x20 0xc5 0x96 0x64    Vector long1, test vector long1 FAILED
Testing doubles.
relational_select_signed FAILED
FAILED test.


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


More information about the llvm-commits mailing list