[PATCH] D109607: [X86] Refactor GetSSETypeAtOffset to fix pr51813
LuoYuanke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 15 01:32:09 PDT 2021
LuoYuanke added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:3421
+ if (T0->isHalfTy())
+ T1 = getFPTypeAtOffset(IRType, IROffset + 4, TD);
+ // If we can't get a second FP type, return a simple half or float.
----------------
Not quite understanding why "+4". Would you comments on it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109607/new/
https://reviews.llvm.org/D109607
More information about the cfe-commits
mailing list