You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am refactoring the code in #1033 by replacing the manually implemented switch-case statements with DataLayout::getTypeSizeInBits.
During this process, I noticed that DataLayout::getTypeSizeInBits(!cir.long_double<!cir.f80>) returns 16 bits when I expected it to return 80 bits. This discrepancy is causing the test cases to fail.
For reference, you can find the relevant code in ClangIR
I am refactoring the code in #1033 by replacing the manually implemented switch-case statements with
DataLayout::getTypeSizeInBits
.During this process, I noticed that
DataLayout::getTypeSizeInBits(!cir.long_double<!cir.f80>)
returns 16 bits when I expected it to return 80 bits. This discrepancy is causing the test cases to fail.For reference, you can find the relevant code in ClangIR
clangir/clang/lib/CIR/Dialect/IR/CIRTypes.cpp
Lines 749 to 754 in fca6e2c
and the LLVM IR code
clangir/llvm/include/llvm/IR/DataLayout.h
Lines 622 to 674 in fca6e2c
For additional context, please see #536 .
The text was updated successfully, but these errors were encountered: