[all-commits] [llvm/llvm-project] 5e87a0: [X86][TTI] Rename OpNInfo to OpNKind [nfc]
Philip Reames via All-commits
all-commits at lists.llvm.org
Mon Aug 22 13:39:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5e87a020a5e13d0df57ea515fad5deb7608efa01
https://github.com/llvm/llvm-project/commit/5e87a020a5e13d0df57ea515fad5deb7608efa01
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-08-22 (Mon, 22 Aug 2022)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[X86][TTI] Rename OpNInfo to OpNKind [nfc]
Both are reasonable names; this is solely that an upcoming change can use the OpNInfo name, and the compiler can tell me if I forgot to update something (instead of silently passing along properties that might not hold.)
Commit: 478cf94378ca988ab874540d98551ea0350f5a3f
https://github.com/llvm/llvm-project/commit/478cf94378ca988ab874540d98551ea0350f5a3f
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-08-22 (Mon, 22 Aug 2022)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[X86][AArch64][WebAsm][RISCV] Query operand properties instead of using enums directly [nfc]
This is part of an ongoing transition to use OperandValueInfo which combines OperandValueKind and OperandValueProperties. This change adds some accessor methods and uses them to simplify backend code. The primary motivation of doing so is removing uses of the parameters so that an upcoming api change is less error prone.
Compare: https://github.com/llvm/llvm-project/compare/8c8cfaaf0a1d...478cf94378ca
More information about the All-commits
mailing list