[all-commits] [llvm/llvm-project] 157473: [IR] Simplify createReplacementInstr
Jay Foad via All-commits
all-commits at lists.llvm.org
Wed Jun 23 02:50:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 157473a58f02b8f2ad12ecbaaa1af32d0342257b
https://github.com/llvm/llvm-project/commit/157473a58f02b8f2ad12ecbaaa1af32d0342257b
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-06-23 (Wed, 23 Jun 2021)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
M llvm/lib/IR/ReplaceConstant.cpp
Log Message:
-----------
[IR] Simplify createReplacementInstr
NFCI, although the test change shows that ConstantExpr::getAsInstruction
is better than the old implementation of createReplacementInstr because
it propagates things like the sdiv "exact" flag.
Differential Revision: https://reviews.llvm.org/D104124
More information about the All-commits
mailing list