[all-commits] [llvm/llvm-project] 9c4825: [mlir] do not use llvm.cmpxchg with floats

ftynse via All-commits all-commits at lists.llvm.org
Mon Aug 17 06:44:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c4825ce282d30ea108e6371c15cb692060ff4f3
      https://github.com/llvm/llvm-project/commit/9c4825ce282d30ea108e6371c15cb692060ff4f3
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Dialect/LLVMIR/roundtrip.mlir
    M mlir/test/Target/llvmir.mlir

  Log Message:
  -----------
  [mlir] do not use llvm.cmpxchg with floats

According to the LLVM Language Reference, 'cmpxchg' accepts integer or pointer
types. Several MLIR tests were using it with floats as it appears possible to
programmatically construct and print such an instruction, but it cannot be
parsed back. Use integers instead.

Depends On D85899

Reviewed By: flaub, rriddle

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




More information about the All-commits mailing list