SuccessChanges

Summary

  1. Don't update NoTrappingFPMath and FPDenormalMode in resetTargetOptions We'd like to remove this whole function, because these are properties of functions, not the target as a whole. These two are easy to remove because they are only used for emitting ARM build attributes, which expects them to represent the defaults for the whole module, not just the last function generated. This is needed to get correct build attributes when using IPRA on ARM, because IPRA causes resetTargetOptions to get called before ARMAsmPrinter::emitAttributes. Differential revision: https://reviews.llvm.org/D64929
Revision 366562 by ostannard:
Don't update NoTrappingFPMath and FPDenormalMode in resetTargetOptions

We'd like to remove this whole function, because these are properties of
functions, not the target as a whole. These two are easy to remove
because they are only used for emitting ARM build attributes, which
expects them to represent the defaults for the whole module, not just
the last function generated.

This is needed to get correct build attributes when using IPRA on ARM,
because IPRA causes resetTargetOptions to get called before
ARMAsmPrinter::emitAttributes.

Differential revision: https://reviews.llvm.org/D64929
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/TargetMachine.cpp (diff)llvm.src/lib/Target/TargetMachine.cpp
The file was modified/llvm/trunk/test/CodeGen/ARM/build-attributes-fn-attr6.ll (diff)llvm.src/test/CodeGen/ARM/build-attributes-fn-attr6.ll