diff options
author | gonglingqin <gonglingqin@loongson.cn> | 2023-02-10 13:57:55 +0800 |
---|---|---|
committer | gonglingqin <gonglingqin@loongson.cn> | 2023-02-10 14:14:47 +0800 |
commit | 9d8a7f780c5da87a0f0e41b5e8978920b1e9947d (patch) | |
tree | b1211809fc0c59f7876a8e01ec8ec664f4863a1b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1 (diff) | |
download | llvm-9d8a7f780c5da87a0f0e41b5e8978920b1e9947d.zip llvm-9d8a7f780c5da87a0f0e41b5e8978920b1e9947d.tar.gz llvm-9d8a7f780c5da87a0f0e41b5e8978920b1e9947d.tar.bz2 |
[LoongArch] Implement the convertSelectOfConstantsToMath hook
Normally, the ISD::SELECT is lowered to maskeqz + masknez. This is
inefficient when operands are constants that can be computed easily.
To avoid that, override TargetLowering::convertSelectOfConstantsToMath.
Differential Revision: https://reviews.llvm.org/D143621
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions