[all-commits] [llvm/llvm-project] a1e8ad: [IR] move helper function to replace undef constan...
RotateRight via All-commits
all-commits at lists.llvm.org
Tue Oct 29 05:52:17 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a1e8ad4f2fa79eabd484856a47a56c5c01259051
https://github.com/llvm/llvm-project/commit/a1e8ad4f2fa79eabd484856a47a56c5c01259051
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths:
M llvm/include/llvm/IR/Constant.h
M llvm/lib/IR/Constants.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[IR] move helper function to replace undef constant (elements) with fixed constants
This is the NFC part of D69519.
We had this functionality locally in instcombine, but it can be used
elsewhere, so hoisting it to Constant class.
More information about the All-commits
mailing list