[PATCH] D150179: [GlobalISel] Hide hoisted constants behind G_BITCAST to prevent folding.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 10:37:50 PDT 2023


aemerson updated this revision to Diff 520750.
aemerson added a comment.

Didn't notice the test failures before. One of them is the verifier complaining about the types being the same for G_BITCAST, so I've relaxed that restriction.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150179/new/

https://reviews.llvm.org/D150179

Files:
  llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-bitcast.ll
  llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-hoisted-constants.ll
  llvm/test/CodeGen/AArch64/GlobalISel/localizer-arm64-tti.ll
  llvm/test/MachineVerifier/test_g_bitcast.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150179.520750.patch
Type: text/x-patch
Size: 11658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230509/f34c624b/attachment.bin>


More information about the llvm-commits mailing list