[NFC] Simpler and faster key computation for getSubtargetImpl memoization
authorserge-sans-paille <sguelton@redhat.com>
Mon, 22 Mar 2021 08:52:39 +0000 (09:52 +0100)
committerserge-sans-paille <sguelton@redhat.com>
Mon, 22 Mar 2021 09:02:51 +0000 (10:02 +0100)
commitb2f7ce91a644e3185eb1beb796b5cf4410378c70
tree0ae033177d70307f8c75140ee6a6e41447b2e318
parentc691b9686b77c0f76e889a8c52a9c53be4e778e4
[NFC] Simpler and faster key computation for getSubtargetImpl memoization

There's no use in computing a large key that's only used for a memoization
optimization.
llvm/lib/Target/X86/X86TargetMachine.cpp