aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorAMS21 <AMS21.github@gmail.com>2025-10-13 10:35:21 +0200
committerGitHub <noreply@github.com>2025-10-13 10:35:21 +0200
commit9f552ee6d20040a4f007ac59c8fd8ad7acc58079 (patch)
tree5585fffa1f428887e0d83f3940ea4e0e20b82768 /llvm/lib/Object/Object.cpp
parentaf4367a6db633f979a3f8c565335d279a9c1d976 (diff)
downloadllvm-9f552ee6d20040a4f007ac59c8fd8ad7acc58079.zip
llvm-9f552ee6d20040a4f007ac59c8fd8ad7acc58079.tar.gz
llvm-9f552ee6d20040a4f007ac59c8fd8ad7acc58079.tar.bz2
[LLVM-C] Allow `LLVMGetVolatile` to work with any kind of Instruction (#163060)
Allow LLVMGetVolatile() to work with any kind of Instruction, rather than only memory instructions that accept a volatile flag. For instructions that can never be volatile, the function now return false instead of asserting. This matches the behavior of `Instruction::isVolatile()` in the C++ API.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions