1 2 3 4 5 6 7 8 9 10 11 12 13 14
typedef unsigned int u32; u32 ff(u32 a) { return __builtin_popcount(a); } u32 f0(u32 a) { return (__builtin_popcount)(a); } /* * check-name: builtin calls * check-command: test-linearize -Wno-decl $file * * check-output-ignore * check-output-excludes: load * check-output-pattern(2): call\..*__builtin_.*, %arg1 */