[all-commits] [llvm/llvm-project] 8f681d: [IR] Allow Value::replaceUsesWithIf() to process c...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Tue May 25 02:12:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f681d5b272eeb5c0d13d225313f4ea9517f59f5
https://github.com/llvm/llvm-project/commit/8f681d5b272eeb5c0d13d225313f4ea9517f59f5
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M llvm/include/llvm/IR/Value.h
M llvm/lib/IR/Value.cpp
Log Message:
-----------
[IR] Allow Value::replaceUsesWithIf() to process constants
The change is currently NFC, but exploited by the depending D102954.
Code to handle constants is borrowed from the general implementation
of Value::doRAUW().
Differential Revision: https://reviews.llvm.org/D103051
More information about the All-commits
mailing list