summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorMax Kudryavtsev <makudrya@microsoft.com>2021-08-06 16:29:21 -0700
committerStella Stamenova <stilis@microsoft.com>2021-08-06 16:31:29 -0700
commit0b8cb87e0d6b092a9c94f9cc0f16e56e954eddfd (patch)
tree2f2c4c078e7362b928d479275105a3237dac1691 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent1854db74c549d952c0282096be1bb93d5d64f81b (diff)
[MLIR][STD] Add safe scalar constant propagation for FPTruncOp
Perform scalar constant propagation for FPTruncOp only if the resulting value can be represented without precision loss or rounding. Example: %cst = constant 1.000000e+00 : f32 %0 = fptrunc %cst : f32 to bf16 --> %cst = constant 1.000000e+00 : bf16 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D107518
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions