[PATCH] D53809: Fix invalid address space generation for clk_event_t
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 29 04:33:07 PDT 2019
Anastasia added inline comments.
Herald added a subscriber: ebevhan.
Herald added a project: clang.
================
Comment at: lib/CodeGen/CGBuiltin.cpp:3614
+ ClkEvent = ClkEvent->getType()->isIntegerTy()
+ ? Builder.CreateBitOrPointerCast(ClkEvent, EventPtrTy)
+ : Builder.CreatePointerCast(ClkEvent, EventPtrTy);
----------------
It doesn't seem like we are testing the cast however?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53809/new/
https://reviews.llvm.org/D53809
More information about the cfe-commits
mailing list