SuccessChanges

Summary

  1. [builtins] Implement rounding mode support for i386/x86_64 (details)
  2. [Remarks][Driver] Use different remark files when targeting multiple (details)
  3. Allocate builtins table earlier to fix bug found by ubsan (details)
  4. Temporarily Revert "Add support for options -frounding-math, (details)
  5. Revert "[Remarks][Driver] Use different remark files when targeting (details)
Commit 1689ad27af5c5712f42542807eb4ecdfe84c2eca by yikong
[builtins] Implement rounding mode support for i386/x86_64
Differential Revision: https://reviews.llvm.org/D69870
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/test/builtins/Unit/addtf3_test.c
The file was addedcompiler-rt/lib/builtins/i386/fp_mode.c
The file was modifiedcompiler-rt/test/builtins/Unit/subtf3_test.c
Commit b4e2b112b58154a89171df39dae80044865ff4ff by francisvm
[Remarks][Driver] Use different remark files when targeting multiple
architectures
When the driver is targeting multiple architectures at once, for things
like Universal Mach-Os, we need to emit different remark files for each
cc1 invocation to avoid overwriting the files from a different
invocation.
For example:
$ clang -c -o foo.o -fsave-optimization-record -arch x86_64 -arch
x86_64h
will create two remark files:
* foo-x86_64.opt.yaml
* foo-x86_64h.opt.yaml
The file was modifiedclang/test/Driver/opt-record.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit a77b66a05625ea4271c2d76f65428cce02e4699e by rnk
Allocate builtins table earlier to fix bug found by ubsan
Follow up to 979da9a4c3ba
The file was modifiedclang/lib/Lex/Preprocessor.cpp
Commit 30e7ee3c4bac4a12ea584a879aa320bd4e035cc2 by echristo
Temporarily Revert "Add support for options -frounding-math,
ftrapping-math, -ffp-model=, and -ffp-exception-behavior=" and a
follow-up NFC rearrangement as it's causing a crash on valid. Testcase
is on the original review thread.
This reverts commits af57dbf12e54f3a8ff48534bf1078f4de104c1cd and
e6584b2b7b2de06f1e59aac41971760cac1e1b79
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/lib/IR/CMakeLists.txt
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was removedllvm/include/llvm/IR/FPEnv.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was removedclang/test/CodeGen/fpconstrained.c
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedclang/test/Driver/fp-model.c
The file was modifiedclang/docs/UsersManual.rst
The file was removedllvm/lib/IR/FPEnv.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/Driver/fast-math.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
Commit 1ff5f0ced3163e457c799bd3bd838153806d6320 by rnk
Revert "[Remarks][Driver] Use different remark files when targeting
multiple architectures"
This reverts commit b4e2b112b58154a89171df39dae80044865ff4ff.
Test doesn't appear to pass on Windows, maybe all non-Mac.
The file was modifiedclang/test/Driver/opt-record.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp