[all-commits] [llvm/llvm-project] f047cb: [OpenMP] Fix incompatible attributes in OpenMPIRBu...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Apr 13 08:58:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f047cb45bd3837d39b0a1bb4262c805ddd4cf1cb
      https://github.com/llvm/llvm-project/commit/f047cb45bd3837d39b0a1bb4262c805ddd4cf1cb
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll

  Log Message:
  -----------
  [OpenMP] Fix incompatible attributes in OpenMPIRBuilder test.

Summary:
After D98740 the function attributes were changes to append rather than
overwrite when using the values defined in OMPKinds.def. One of the
OpenMPIRBuilder tests erroenously used `readnone` instead of `readonly` which
would cause a conflict and result in a broken module once `readonly` was
appended to it. This patch fixes the test to use the correct attributes.




More information about the All-commits mailing list