Files
clang-p2996/llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
Alexandros Lamprineas bb6d60bf9d [FuncSpec][NFC] Sink cast into function.
Before looking up a value in the map of known constants we attempt
to dynamically cast it. The code looks cleaner if we move the cast
inside findConstantFor(), where the look up happens.

Differential Revision: https://reviews.llvm.org/D155177
2023-07-14 14:00:23 +01:00

34 KiB