[Local] Add MD_fpmath to combineMetadataForCSE()
authorNikita Popov <npopov@redhat.com>
Mon, 3 Apr 2023 13:26:51 +0000 (15:26 +0200)
committerNikita Popov <npopov@redhat.com>
Mon, 3 Apr 2023 13:27:59 +0000 (15:27 +0200)
commit0b5068695aabdca40eddb686be80ef4ad6abf38e
treed5e91f38c777f6bc8ed11b7a249601cedf8b15c8
parentcca01008cc31a891d0ec70aff2201b25d05d8f1b
[Local] Add MD_fpmath to combineMetadataForCSE()

This was present in patchReplacementInstruction() but not
combineMetadataForCSE(). combineMetadata() already knows how to
merge these properly.
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Transforms/SimplifyCFG/hoist-with-metadata.ll