[PATCH] D27584: AMDGPU: Improve nsw/nuw/exact when promoting uniform i16 ops
Konstantin Zhuravlyov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 11:47:19 PST 2016
kzhuravl added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp:221
}
- ExtRes = copyFlags(I, Builder.CreateBinOp(I.getOpcode(), ExtOp0, ExtOp1));
TruncRes = Builder.CreateTrunc(ExtRes, I.getType());
----------------
Should `copyFlags` be completely removed?
https://reviews.llvm.org/D27584
More information about the llvm-commits
mailing list