diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2022-05-05 15:50:33 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-05-05 15:52:19 +0200 |
commit | 08b20f20d2854377009822dfe597c78a4bf18de8 (patch) | |
tree | 049e81e89c97608887fcf40d0c23878bbd013a45 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 47bdea3f7eb4bb70288e69635d73807c5d03dacc (diff) | |
download | llvm-08b20f20d2854377009822dfe597c78a4bf18de8.zip llvm-08b20f20d2854377009822dfe597c78a4bf18de8.tar.gz llvm-08b20f20d2854377009822dfe597c78a4bf18de8.tar.bz2 |
[ConstantFold] Use getFltSemantics instead of manually checking the type
Simplifies the code and makes fpext/fptrunc constant folding not crash
when the result is bf16.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions