AMS21 9f552ee6d2
[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.
2025-10-13 10:35:21 +02:00
..