[flang-commits] [flang] [flang] Check x86 CPU and issue diagnostics (PR #127950)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Thu Feb 20 08:06:53 PST 2025


eugeneepshteyn wrote:

> How does `clang` check for this? Can we share some code between `clang` and `flang`?

See this comment: https://github.com/llvm/llvm-project/issues/97466#issuecomment-2211752286

To share the code would be more work than I currently have time to do. My goal was to try to fix immediate flang crash issue for x86. (ARM doesn't crash for invalid CPU, but it does something different.) Perhaps we can fix x86 now and file a new "feature" issue for trying to get some code re-use in flang and clang?

https://github.com/llvm/llvm-project/pull/127950


More information about the flang-commits mailing list