[PATCH] D122269: Modify DXILPrepare to emit no-op bitcasts

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 8 19:03:05 PDT 2022


kuhar added inline comments.


================
Comment at: llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll:25
+define i32 @test3(ptr %0)  {
+  %2 = getelementptr i32, ptr %0, i32 4
+  %3 = load i32, ptr %2
----------------
I think it would be also worth having some tests where we do insert bitcasts for geps.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122269



More information about the llvm-commits mailing list