[PATCH] D126494: [clang] avoid assert due to device treated long double as double

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 12:48:08 PDT 2022


efriedma added a comment.

This doesn't make sense to me.  If clang and LLVM disagree about the layout of a type, you are going to run into trouble.  If you haven't yet, it's a matter of time.

Looking at AMDGPUTargetInfo::setAuxTarget, maybe LongDoubleFormat is somehow inconsistent with LongDoubleWidth/LongDoubleAlign?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126494/new/

https://reviews.llvm.org/D126494



More information about the cfe-commits mailing list