[PATCH] D59985: Re-fix invalid address space generation for clk_event_t arguments of enqueue_kernel builtin function
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 1 03:53:13 PDT 2019
Anastasia added inline comments.
================
Comment at: lib/CodeGen/CGBuiltin.cpp:3711
+ EventList = EventList->getType()->isIntegerTy()
+ ? Builder.CreateIntToPtr(EventList, EventPtrTy)
+ : Builder.CreatePointerCast(EventList, EventPtrTy);
----------------
It seems we are not testing the casts?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59985/new/
https://reviews.llvm.org/D59985
More information about the cfe-commits
mailing list