[llvm] [IPSCCP] Variable not visible at Og: (PR #77901)
Carlos Alberto Enciso via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 12 03:57:58 PST 2024
================
@@ -3594,7 +3594,8 @@ DIExpression *llvm::getExpressionForConstant(DIBuilder &DIB, const Constant &C,
return createIntegerExpression(C);
auto *FP = dyn_cast<ConstantFP>(&C);
- if (FP && (Ty.isFloatTy() || Ty.isDoubleTy())) {
+ if (FP &&
+ (Ty.isFloatTy() || Ty.isDoubleTy() || Ty.isHalfTy() || Ty.isBFloatTy())) {
----------------
CarlosAlbertoEnciso wrote:
If we use `isFloatingPointTy()` then we should extended the coverage to include `X86_FP80TyID` and `PPC_FP128TyID`.
https://github.com/llvm/llvm-project/pull/77901
More information about the llvm-commits
mailing list