[all-commits] [llvm/llvm-project] fd842d: [CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to spe...

huihzhang via All-commits all-commits at lists.llvm.org
Wed May 13 18:04:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fd842d3626625d8075b0ecbd4d24de70d7ac2456
      https://github.com/llvm/llvm-project/commit/fd842d3626625d8075b0ecbd4d24de70d7ac2456
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M clang/test/CodeGen/pr45476.cpp

  Log Message:
  -----------
  [CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.

Summary:
Use explicit target triple to match more accurately the output for libcall
or native atomic.

Similar to D74847, without explicit target triple, this test will fail for ARM.

This patch update test pr45476.cpp to check for both native atomic and libcall.

Reviewers: efriedma, ekatz, rjmccall, rsmith, luismarques

Reviewed By: efriedma

Subscribers: kristof.beyls, jfb, cfe-commits, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D79914




More information about the All-commits mailing list