[all-commits] [llvm/llvm-project] 07f335: [strictfp] Replace dangling strictfp attrs with no...

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Mon Jun 15 07:06:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 07f335128410ca2dbb4b78050132ecd070e2e425
      https://github.com/llvm/llvm-project/commit/07f335128410ca2dbb4b78050132ecd070e2e425
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M llvm/include/llvm/IR/AutoUpgrade.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/test/Bitcode/compatibility-5.0.ll
    M llvm/test/Bitcode/compatibility-6.0.ll
    M llvm/unittests/Bitcode/BitReaderTest.cpp

  Log Message:
  -----------
  [strictfp] Replace dangling strictfp attrs with nobuiltin

In preparation for a patch that will enforce new rules for the usage of
the strictfp attribute, this patch introduces auto-upgrade behavior that
will replace the strictfp attribute on callsites with nobuiltin if the
enclosing function declaration doesn't also have the strictfp attribute.

This auto-upgrade isn't being performed on .ll files because that would
prevent us from writing a test for the forthcoming verifier behavior.

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




More information about the All-commits mailing list