[all-commits] [llvm/llvm-project] 3e03cd: [llvm][Uniformity] provide overloads for Instructi...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Mon Feb 27 21:59:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e03cd87b8768091790e019489487fb986b9ffef
https://github.com/llvm/llvm-project/commit/3e03cd87b8768091790e019489487fb986b9ffef
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M llvm/include/llvm/ADT/GenericUniformityImpl.h
M llvm/include/llvm/ADT/GenericUniformityInfo.h
Log Message:
-----------
[llvm][Uniformity] provide overloads for Instruction* and Value*
Uniformity analysis is mainly concerned with the uniformity of values. But it is
sometimes useful to ask if an instruction is uniform, for example, if the
instruction is a terminator. On LLVM IR, every Instruction is a Value, so the
queries like isUniform() need to be overloaded so that the most derived class
always wins.
Reviewed By: ruiling
Differential Revision: https://reviews.llvm.org/D144699
More information about the All-commits
mailing list