[PATCH] D109607: [X86] Refactor GetSSETypeAtOffset to fix pr51813
Pengfei Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 13 08:06:33 PDT 2021
pengfei added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:3454
-
- return llvm::Type::getHalfTy(getVMContext());
- }
----------------
LuoYuanke wrote:
> Is this the major change?
No, this logic is not changed. When `T1` is nullptr, it means `IRType` is simply a `half` or `float`. So we return `T0` that equals to the code here.
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