diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-05-07 11:58:14 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-05-10 19:56:38 -0500 |
commit | 11cb3c300d8e8f05dddbc1a4f8ab1c86e864544a (patch) | |
tree | 5e5f0972821d82583c50278cbd75cf17ee0e7e23 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 38b275598391dd6bd2d034e6b815c3febde0b1fe (diff) | |
download | llvm-11cb3c300d8e8f05dddbc1a4f8ab1c86e864544a.zip llvm-11cb3c300d8e8f05dddbc1a4f8ab1c86e864544a.tar.gz llvm-11cb3c300d8e8f05dddbc1a4f8ab1c86e864544a.tar.bz2 |
[IR][PatternMatch] Make `m_Checked{Int,Fp}` accept `Constant *` output instead of `APInt *`
The `APInt *` version is pretty useless as any case one needs an
`APInt *` out, they could just replace whatever they have the
`m_Checked...` lambda with direct checks on the `APInt`.
Leaving other helpers such as `m_Negative`, `m_Power2`,
etc... unchanged as the `APInt` out version is used mostly for
convenience and rarely change functionality when converted output a
`Constant *`.
Closes #91377
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions