[PATCH] D35146: AMDGPU : Widen extending scalar loads to 32-bits
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 13:29:37 PDT 2017
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp:238
+bool AMDGPUCodeGenPrepare::widenScalarLoadtoI32(LoadInst &I) const {
+ Type *Ty = I.getType();
----------------
This doesn't actually do the widening, so the name should be something like canWidenScalarExtLoad
Repository:
rL LLVM
https://reviews.llvm.org/D35146
More information about the llvm-commits
mailing list