[llvm-bugs] [Bug 40029] New: test /test/CodeGenOpenCL/address-spaces-mangling.cl Broken (as is address-space-map-mangling=no)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 14 10:36:34 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=40029

            Bug ID: 40029
           Summary: test /test/CodeGenOpenCL/address-spaces-mangling.cl
                    Broken (as is address-space-map-mangling=no)
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: erich.keane at intel.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org

A bunch of the test-prefixes are incorrect, which causes it to not properly
test in the address-space-map-mangling=no case.

There are a bunch named ASMAN10/ASMAN20/NOASMAN10/NOASMAN20 that are actually
spelled with a "G" (ASMANG10) in the space below.

Fixing these causes the test to fail in the 'NO' cases:

--
/export/iusers/ekeane1/workspaces/llorg/llvm/tools/clang/test/CodeGenOpenCL/address-spaces-mangling.cl:17:16:
error: NOASMANG10: expected string not found in input
// NOASMANG10: @_Z2ffPi
               ^
<stdin>:1:1: note: scanning from here
; ModuleID =
'/export/iusers/ekeane1/workspaces/llorg/llvm/tools/clang/test/CodeGenOpenCL/address-spaces-mangling.cl'
^
<stdin>:7:13: note: possible intended match here
define void @_Z2ffPU9CLprivatei(i32* nocapture %arg) local_unnamed_addr #0 {

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181214/d8fbf941/attachment.html>


More information about the llvm-bugs mailing list