diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-07-26 11:27:12 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-26 11:27:12 +0400 |
commit | 3921900198653d205753b2d85dc31ca5bc009fdd (patch) | |
tree | 7a0152c9d03222847898811ac3841016ead7d3b1 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9482a8385b94f2c32379fb0b946516ff54261b32 (diff) | |
download | llvm-3921900198653d205753b2d85dc31ca5bc009fdd.zip llvm-3921900198653d205753b2d85dc31ca5bc009fdd.tar.gz llvm-3921900198653d205753b2d85dc31ca5bc009fdd.tar.bz2 |
CodeGen: Remove UsesMSVCFloatingPoint from MachineModuleInfo (#100368)
This is only used by x86 and only used in the AsmPrinter module pass. I
think implementing this by looking at the underlying IR types instead
of the selected instructions is a pretty horrifying implementation,
but it's still available in the AsmPrinter.
This is https://reviews.llvm.org/D123933 resurrected.
I still don't know what the point of emitting _fltused is, but this
approach of looking at the IR types probably isn't the right way to
do this in the first place. If the intent is report any FP instructions,
this will miss any implicitly introduced ones during codegen. Also don't
know why just unconditionally emitting it isn't an option.
The last review mentioned the ARMs might want to emit this, but I'm
not going to go fix that. If someone wants to emit this on ARM, they
can move this to a common helper or analysis somewhere.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions