[all-commits] [llvm/llvm-project] 330b74: [X86] Remove some duplicate ConstantSDNode casts. ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri May 15 10:24:27 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 330b7491d573c0357a07b7ed21f30af167ce5d8a
https://github.com/llvm/llvm-project/commit/330b7491d573c0357a07b7ed21f30af167ce5d8a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Remove some duplicate ConstantSDNode casts. NFC.
Avoid repeated isa<> and cast<> by just performing a dyn_cast<ConstantSDNode>
More information about the All-commits
mailing list