[all-commits] [llvm/llvm-project] 01c0a8: [DirectX] Make dx.RawBuffer an op that can't be re...
Farzon Lotfi via All-commits
all-commits at lists.llvm.org
Fri Aug 29 13:09:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 01c0a8409a21344c822deba9467bd9d547f6e5d8
https://github.com/llvm/llvm-project/commit/01c0a8409a21344c822deba9467bd9d547f6e5d8
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M clang/test/CodeGenHLSL/builtins/hlsl_resource_t.hlsl
M llvm/include/llvm/IR/DerivedTypes.h
M llvm/include/llvm/IR/Type.h
M llvm/lib/IR/Type.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Target/DirectX/DXILResourceAccess.cpp
M llvm/lib/Transforms/Utils/Local.cpp
A llvm/test/CodeGen/DirectX/issue-152348.ll
A llvm/test/CodeGen/DirectX/phi-node-replacement.ll
A llvm/test/Transforms/SimplifyCFG/token_like_type.ll
A llvm/test/Verifier/tokenlike1-without-asserts.ll
A llvm/test/Verifier/tokenlike5.ll
A llvm/test/Verifier/tokenlike6.ll
A llvm/test/Verifier/tokenlike7.ll
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
[DirectX] Make dx.RawBuffer an op that can't be replaced (#154620)
fixes #152348
SimplifyCFG collapses raw buffer store from a if\else load into a
select.
This change prevents the TargetExtType dx.Rawbuffer from being replace
thus preserving the if\else blocks.
A further change was needed to eliminate the phi node before we process
Intrinsic::dx_resource_getpointer in DXILResourceAccess.cpp
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list